diff options
author | Christoph Hellwig <hch@infradead.org> | 2007-08-28 21:59:36 -0400 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-10-15 21:41:15 -0400 |
commit | 293688ec420f1160ed93ea4c7948ed5baf8bafa7 (patch) | |
tree | 3e342f759b3ae0499eedcb8f050dd2c4c1b48e93 /fs/xfs/linux-2.6/xfs_vfs.c | |
parent | f541d270dbce375b7bd8cef466bdaf0cff945b45 (diff) |
[XFS] remove dependency of the dmapi module on behaviors
Mount options are now parsed by the main XFS module and rejected if dmapi
support is not available, and there is a new dm operation to send the
mount event.
SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29502a
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.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_vfs.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/fs/xfs/linux-2.6/xfs_vfs.c b/fs/xfs/linux-2.6/xfs_vfs.c index 6ed7f137a031..1ce15706458a 100644 --- a/fs/xfs/linux-2.6/xfs_vfs.c +++ b/fs/xfs/linux-2.6/xfs_vfs.c | |||
@@ -156,19 +156,6 @@ vfs_vget( | |||
156 | } | 156 | } |
157 | 157 | ||
158 | int | 158 | int |
159 | vfs_dmapiops( | ||
160 | struct bhv_desc *bdp, | ||
161 | caddr_t addr) | ||
162 | { | ||
163 | struct bhv_desc *next = bdp; | ||
164 | |||
165 | ASSERT(next); | ||
166 | while (! (bhvtovfsops(next))->vfs_dmapiops) | ||
167 | next = BHV_NEXT(next); | ||
168 | return ((*bhvtovfsops(next)->vfs_dmapiops)(next, addr)); | ||
169 | } | ||
170 | |||
171 | int | ||
172 | vfs_quotactl( | 159 | vfs_quotactl( |
173 | struct bhv_desc *bdp, | 160 | struct bhv_desc *bdp, |
174 | int cmd, | 161 | int cmd, |
@@ -306,7 +293,6 @@ bhv_remove_all_vfsops( | |||
306 | struct xfs_mount *mp; | 293 | struct xfs_mount *mp; |
307 | 294 | ||
308 | bhv_remove_vfsops(vfsp, VFS_POSITION_QM); | 295 | bhv_remove_vfsops(vfsp, VFS_POSITION_QM); |
309 | bhv_remove_vfsops(vfsp, VFS_POSITION_DM); | ||
310 | if (!freebase) | 296 | if (!freebase) |
311 | return; | 297 | return; |
312 | mp = XFS_VFSTOM(vfsp); | 298 | mp = XFS_VFSTOM(vfsp); |