diff options
author | Christoph Hellwig <hch@infradead.org> | 2007-08-30 03:20:31 -0400 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-10-15 21:43:55 -0400 |
commit | 48c872a9f3ec4cdc37801aae9ef16c80026503ea (patch) | |
tree | 51d377e7ced7298d96daf9008558e54177e47a30 /fs/xfs/xfs_rw.c | |
parent | b09cc77109dbf33463480952de10511a2b67bba6 (diff) |
[XFS] decontaminate vfs operations from behavior details
All vfs ops now take struct xfs_mount pointers and the behaviour related
glue is split out into methods of its own.
SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29504a
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/xfs_rw.c')
-rw-r--r-- | fs/xfs/xfs_rw.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/xfs/xfs_rw.c b/fs/xfs/xfs_rw.c index 905d1c008be7..cd3ece6cc918 100644 --- a/fs/xfs/xfs_rw.c +++ b/fs/xfs/xfs_rw.c | |||
@@ -178,18 +178,15 @@ xfs_write_sync_logforce( | |||
178 | * the shop, make sure that absolutely nothing persistent happens to | 178 | * the shop, make sure that absolutely nothing persistent happens to |
179 | * this filesystem after this point. | 179 | * this filesystem after this point. |
180 | */ | 180 | */ |
181 | |||
182 | void | 181 | void |
183 | xfs_do_force_shutdown( | 182 | xfs_do_force_shutdown( |
184 | bhv_desc_t *bdp, | 183 | xfs_mount_t *mp, |
185 | int flags, | 184 | int flags, |
186 | char *fname, | 185 | char *fname, |
187 | int lnnum) | 186 | int lnnum) |
188 | { | 187 | { |
189 | int logerror; | 188 | int logerror; |
190 | xfs_mount_t *mp; | ||
191 | 189 | ||
192 | mp = XFS_BHVTOM(bdp); | ||
193 | logerror = flags & SHUTDOWN_LOG_IO_ERROR; | 190 | logerror = flags & SHUTDOWN_LOG_IO_ERROR; |
194 | 191 | ||
195 | if (!(flags & SHUTDOWN_FORCE_UMOUNT)) { | 192 | if (!(flags & SHUTDOWN_FORCE_UMOUNT)) { |