diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_export.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_export.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_export.c b/fs/xfs/linux-2.6/xfs_export.c index 0919021d56c4..4ed28a6767bb 100644 --- a/fs/xfs/linux-2.6/xfs_export.c +++ b/fs/xfs/linux-2.6/xfs_export.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include "xfs_vnodeops.h" | 28 | #include "xfs_vnodeops.h" |
29 | #include "xfs_bmap_btree.h" | 29 | #include "xfs_bmap_btree.h" |
30 | #include "xfs_inode.h" | 30 | #include "xfs_inode.h" |
31 | #include "xfs_vfsops.h" | ||
31 | 32 | ||
32 | static struct dentry dotdot = { .d_name.name = "..", .d_name.len = 2, }; | 33 | static struct dentry dotdot = { .d_name.name = "..", .d_name.len = 2, }; |
33 | 34 | ||
@@ -143,10 +144,9 @@ xfs_fs_get_dentry( | |||
143 | bhv_vnode_t *vp; | 144 | bhv_vnode_t *vp; |
144 | struct inode *inode; | 145 | struct inode *inode; |
145 | struct dentry *result; | 146 | struct dentry *result; |
146 | bhv_vfs_t *vfsp = vfs_from_sb(sb); | ||
147 | int error; | 147 | int error; |
148 | 148 | ||
149 | error = bhv_vfs_vget(vfsp, &vp, (fid_t *)data); | 149 | error = xfs_vget(XFS_M(sb), &vp, (fid_t *)data); |
150 | if (error || vp == NULL) | 150 | if (error || vp == NULL) |
151 | return ERR_PTR(-ESTALE) ; | 151 | return ERR_PTR(-ESTALE) ; |
152 | 152 | ||