aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_vfs.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-06-09 02:48:30 -0400
committerNathan Scott <nathans@sgi.com>2006-06-09 02:48:30 -0400
commitb83bd1388133e914c38bd31d69bc90143e6ab10c (patch)
tree3f7fecf3913d1aa8216e06f109746c63ec0ac501 /fs/xfs/linux-2.6/xfs_vfs.c
parent932f2c323196c214e645d5a572a1d7b562c0f93f (diff)
[XFS] Resolve a namespace collision on vfs/vfsops for FreeBSD porters.
SGI-PV: 9533338 SGI-Modid: xfs-linux-melb:xfs-kern:26106a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_vfs.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_vfs.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/fs/xfs/linux-2.6/xfs_vfs.c b/fs/xfs/linux-2.6/xfs_vfs.c
index 6f7c9f7a8624..9f9bc894deb9 100644
--- a/fs/xfs/linux-2.6/xfs_vfs.c
+++ b/fs/xfs/linux-2.6/xfs_vfs.c
@@ -226,13 +226,13 @@ vfs_freeze(
226 ((*bhvtovfsops(next)->vfs_freeze)(next)); 226 ((*bhvtovfsops(next)->vfs_freeze)(next));
227} 227}
228 228
229vfs_t * 229bhv_vfs_t *
230vfs_allocate( 230vfs_allocate(
231 struct super_block *sb) 231 struct super_block *sb)
232{ 232{
233 struct vfs *vfsp; 233 struct bhv_vfs *vfsp;
234 234
235 vfsp = kmem_zalloc(sizeof(vfs_t), KM_SLEEP); 235 vfsp = kmem_zalloc(sizeof(bhv_vfs_t), KM_SLEEP);
236 bhv_head_init(VFS_BHVHEAD(vfsp), "vfs"); 236 bhv_head_init(VFS_BHVHEAD(vfsp), "vfs");
237 INIT_LIST_HEAD(&vfsp->vfs_sync_list); 237 INIT_LIST_HEAD(&vfsp->vfs_sync_list);
238 spin_lock_init(&vfsp->vfs_sync_lock); 238 spin_lock_init(&vfsp->vfs_sync_lock);
@@ -247,25 +247,25 @@ vfs_allocate(
247 return vfsp; 247 return vfsp;
248} 248}
249 249
250vfs_t * 250bhv_vfs_t *
251vfs_from_sb( 251vfs_from_sb(
252 struct super_block *sb) 252 struct super_block *sb)
253{ 253{
254 return (vfs_t *)sb->s_fs_info; 254 return (bhv_vfs_t *)sb->s_fs_info;
255} 255}
256 256
257void 257void
258vfs_deallocate( 258vfs_deallocate(
259 struct vfs *vfsp) 259 struct bhv_vfs *vfsp)
260{ 260{
261 bhv_head_destroy(VFS_BHVHEAD(vfsp)); 261 bhv_head_destroy(VFS_BHVHEAD(vfsp));
262 kmem_free(vfsp, sizeof(vfs_t)); 262 kmem_free(vfsp, sizeof(bhv_vfs_t));
263} 263}
264 264
265void 265void
266vfs_insertops( 266vfs_insertops(
267 struct vfs *vfsp, 267 struct bhv_vfs *vfsp,
268 struct bhv_vfsops *vfsops) 268 struct bhv_module_vfsops *vfsops)
269{ 269{
270 struct bhv_desc *bdp; 270 struct bhv_desc *bdp;
271 271
@@ -276,9 +276,9 @@ vfs_insertops(
276 276
277void 277void
278vfs_insertbhv( 278vfs_insertbhv(
279 struct vfs *vfsp, 279 struct bhv_vfs *vfsp,
280 struct bhv_desc *bdp, 280 struct bhv_desc *bdp,
281 struct vfsops *vfsops, 281 struct bhv_vfsops *vfsops,
282 void *mount) 282 void *mount)
283{ 283{
284 bhv_desc_init(bdp, mount, vfsp, vfsops); 284 bhv_desc_init(bdp, mount, vfsp, vfsops);
@@ -287,7 +287,7 @@ vfs_insertbhv(
287 287
288void 288void
289bhv_remove_vfsops( 289bhv_remove_vfsops(
290 struct vfs *vfsp, 290 struct bhv_vfs *vfsp,
291 int pos) 291 int pos)
292{ 292{
293 struct bhv_desc *bhv; 293 struct bhv_desc *bhv;
@@ -301,7 +301,7 @@ bhv_remove_vfsops(
301 301
302void 302void
303bhv_remove_all_vfsops( 303bhv_remove_all_vfsops(
304 struct vfs *vfsp, 304 struct bhv_vfs *vfsp,
305 int freebase) 305 int freebase)
306{ 306{
307 struct xfs_mount *mp; 307 struct xfs_mount *mp;
@@ -317,7 +317,7 @@ bhv_remove_all_vfsops(
317 317
318void 318void
319bhv_insert_all_vfsops( 319bhv_insert_all_vfsops(
320 struct vfs *vfsp) 320 struct bhv_vfs *vfsp)
321{ 321{
322 struct xfs_mount *mp; 322 struct xfs_mount *mp;
323 323