aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_buf.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_buf.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_buf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c
index 302273f8e2a9..e347bfd47c91 100644
--- a/fs/xfs/linux-2.6/xfs_buf.c
+++ b/fs/xfs/linux-2.6/xfs_buf.c
@@ -700,8 +700,7 @@ static inline struct page *
700mem_to_page( 700mem_to_page(
701 void *addr) 701 void *addr)
702{ 702{
703 if (((unsigned long)addr < VMALLOC_START) || 703 if ((!is_vmalloc_addr(addr))) {
704 ((unsigned long)addr >= VMALLOC_END)) {
705 return virt_to_page(addr); 704 return virt_to_page(addr);
706 } else { 705 } else {
707 return vmalloc_to_page(addr); 706 return vmalloc_to_page(addr);