diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_aops.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_aops.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/xfs/linux-2.6/xfs_aops.c b/fs/xfs/linux-2.6/xfs_aops.c index 52707b5ddcb8..d1db8c17a74e 100644 --- a/fs/xfs/linux-2.6/xfs_aops.c +++ b/fs/xfs/linux-2.6/xfs_aops.c | |||
@@ -54,7 +54,6 @@ xfs_page_trace( | |||
54 | int mask) | 54 | int mask) |
55 | { | 55 | { |
56 | xfs_inode_t *ip; | 56 | xfs_inode_t *ip; |
57 | bhv_desc_t *bdp; | ||
58 | vnode_t *vp = LINVFS_GET_VP(inode); | 57 | vnode_t *vp = LINVFS_GET_VP(inode); |
59 | loff_t isize = i_size_read(inode); | 58 | loff_t isize = i_size_read(inode); |
60 | loff_t offset = page_offset(page); | 59 | loff_t offset = page_offset(page); |
@@ -63,8 +62,7 @@ xfs_page_trace( | |||
63 | if (page_has_buffers(page)) | 62 | if (page_has_buffers(page)) |
64 | xfs_count_page_state(page, &delalloc, &unmapped, &unwritten); | 63 | xfs_count_page_state(page, &delalloc, &unmapped, &unwritten); |
65 | 64 | ||
66 | bdp = vn_bhv_lookup(VN_BHV_HEAD(vp), &xfs_vnodeops); | 65 | ip = xfs_vtoi(vp); |
67 | ip = XFS_BHVTOI(bdp); | ||
68 | if (!ip->i_rwtrace) | 66 | if (!ip->i_rwtrace) |
69 | return; | 67 | return; |
70 | 68 | ||