diff options
author | Nathan Scott <nathans@sgi.com> | 2006-03-14 13:26:09 +1100 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-03-14 13:26:09 +1100 |
commit | 02d7c92334c84897d7d2840fc25e5896535766f9 (patch) | |
tree | b7853c5f3d4bffdf820c9d0ebe6f8ac2e370a6f4 /fs/xfs/linux-2.6/xfs_vfs.c | |
parent | fcce0f1f9ae8d49fd27d418428034a505816d395 (diff) | |
download | lwn-02d7c92334c84897d7d2840fc25e5896535766f9.tar.gz lwn-02d7c92334c84897d7d2840fc25e5896535766f9.zip |
[XFS] Use XFS_VFSTOM in more places instead of open coding it.
SGI-PV: 947206
SGI-Modid: xfs-linux-melb:xfs-kern:25310a
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_vfs.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_vfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_vfs.c b/fs/xfs/linux-2.6/xfs_vfs.c index c855d62e5344..a6b4084bda88 100644 --- a/fs/xfs/linux-2.6/xfs_vfs.c +++ b/fs/xfs/linux-2.6/xfs_vfs.c @@ -295,7 +295,7 @@ bhv_remove_all_vfsops( bhv_remove_vfsops(vfsp, VFS_POSITION_DM); if (!freebase) return; - mp = XFS_BHVTOM(bhv_lookup(VFS_BHVHEAD(vfsp), &xfs_vfsops)); + mp = XFS_VFSTOM(vfsp); VFS_REMOVEBHV(vfsp, &mp->m_bhv); xfs_mount_free(mp, 0); } |