]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
[XFS] Use XFS_VFSTOM in more places instead of open coding it.
authorNathan Scott <nathans@sgi.com>
Tue, 14 Mar 2006 02:26:09 +0000 (13:26 +1100)
committerNathan Scott <nathans@sgi.com>
Tue, 14 Mar 2006 02:26:09 +0000 (13:26 +1100)
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>
fs/xfs/linux-2.6/xfs_vfs.c

index c855d62e53440323998bfafe1a7de416431a8a1e..a6b4084bda88d2ed425f4107664ece38cce7b0d3 100644 (file)
@@ -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);
 }