summaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_vfs.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2007-08-30 17:21:30 +1000
committerTim Shimmin <tes@chook.melbourne.sgi.com>2007-10-16 12:17:27 +1000
commitb267ce9952374c51099f21d6c3a59c78fa0d7586 (patch)
treebb91ddce70fb9868217cb4f622e2c471ed4946b7 /fs/xfs/linux-2.6/xfs_vfs.h
parent743944967021f3759d3540b0dfbc7ee7215bc4b0 (diff)
[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_vfs.h')
-rw-r--r--fs/xfs/linux-2.6/xfs_vfs.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/fs/xfs/linux-2.6/xfs_vfs.h b/fs/xfs/linux-2.6/xfs_vfs.h
index 51906192e70..4da03a4e352 100644
--- a/fs/xfs/linux-2.6/xfs_vfs.h
+++ b/fs/xfs/linux-2.6/xfs_vfs.h
@@ -21,7 +21,6 @@
#include <linux/vfs.h>
#include "xfs_fs.h"
-struct bhv_vfs;
struct inode;
struct fid;
@@ -41,11 +40,6 @@ typedef struct bhv_vfs_sync_work {
void (*w_syncer)(struct xfs_mount *, void *);
} bhv_vfs_sync_work_t;
-typedef struct bhv_vfs {
- struct xfs_mount *vfs_mount;
- struct super_block *vfs_super; /* generic superblock pointer */
-} bhv_vfs_t;
-
#define SYNC_ATTR 0x0001 /* sync attributes */
#define SYNC_CLOSE 0x0002 /* close file system down */
#define SYNC_DELWRI 0x0004 /* look at delayed writes */
@@ -78,11 +72,7 @@ typedef struct bhv_vfs {
#define SHUTDOWN_REMOTE_REQ 0x0010 /* shutdown came from remote cell */
#define SHUTDOWN_DEVICE_REQ 0x0020 /* failed all paths to the device */
-#define vfs_test_for_freeze(vfs) ((vfs)->vfs_super->s_frozen)
-#define vfs_wait_for_freeze(vfs,l) vfs_check_frozen((vfs)->vfs_super, (l))
-
-extern bhv_vfs_t *vfs_allocate(struct super_block *);
-extern bhv_vfs_t *vfs_from_sb(struct super_block *);
-extern void vfs_deallocate(bhv_vfs_t *);
+#define xfs_test_for_freeze(mp) ((mp)->m_super->s_frozen)
+#define xfs_wait_for_freeze(mp,l) vfs_check_frozen((mp)->m_super, (l))
#endif /* __XFS_VFS_H__ */