summaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_super.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2007-08-30 09:21:30 +0200
committerTim Shimmin <tes@chook.melbourne.sgi.com>2007-10-16 04:17:27 +0200
commitb267ce9952374c51099f21d6c3a59c78fa0d7586 (patch)
treebb91ddce70fb9868217cb4f622e2c471ed4946b7 /fs/xfs/linux-2.6/xfs_super.h
parent[XFS] move syncing related members from struct bhv_vfs to struct xfs_mount (diff)
downloadlinux-b267ce9952374c51099f21d6c3a59c78fa0d7586.tar.xz
linux-b267ce9952374c51099f21d6c3a59c78fa0d7586.zip
[XFS] kill struct bhv_vfs
Now that struct bhv_vfs doesn't have any members left we can kill it and go directly from the super_block to the xfs_mount everywhere. SGI-PV: 969608 SGI-Modid: xfs-linux-melb:xfs-kern:29509a Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_super.h')
-rw-r--r--fs/xfs/linux-2.6/xfs_super.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.h b/fs/xfs/linux-2.6/xfs_super.h
index 529ada86f2c9..c78c23310fe8 100644
--- a/fs/xfs/linux-2.6/xfs_super.h
+++ b/fs/xfs/linux-2.6/xfs_super.h
@@ -120,7 +120,6 @@ extern void xfs_blkdev_issue_flush(struct xfs_buftarg *);
extern struct export_operations xfs_export_operations;
-#define XFS_M(sb) \
- XFS_VFSTOM(vfs_from_sb(sb))
+#define XFS_M(sb) ((struct xfs_mount *)((sb)->s_fs_info))
#endif /* __XFS_SUPER_H__ */