diff options
author | Christoph Hellwig <hch@infradead.org> | 2007-08-28 21:53:12 -0400 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-10-15 21:40:24 -0400 |
commit | 0a74cd1964501fdb577176f14ed3d02b8e148127 (patch) | |
tree | ec4aa3dff46b141cd60734bb6c8a0c6b6a2e7111 /fs/xfs/xfs_acl.c | |
parent | 2aeaa258c0527026228c43148ec6dffdc56bea1c (diff) |
[XFS] kill struct bhv_vnode
Now that struct bhv_vnode is empty we can just kill it. Retain bhv_vnode_t
as a typedef for struct inode for the time being until all the fallout is
cleaned up.
SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29500a
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_acl.c')
-rw-r--r-- | fs/xfs/xfs_acl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_acl.c b/fs/xfs/xfs_acl.c index 817d9e93c2c5..1b440f37371c 100644 --- a/fs/xfs/xfs_acl.c +++ b/fs/xfs/xfs_acl.c | |||
@@ -376,11 +376,11 @@ xfs_acl_allow_set( | |||
376 | bhv_vattr_t va; | 376 | bhv_vattr_t va; |
377 | int error; | 377 | int error; |
378 | 378 | ||
379 | if (vp->v_inode.i_flags & (S_IMMUTABLE|S_APPEND)) | 379 | if (vp->i_flags & (S_IMMUTABLE|S_APPEND)) |
380 | return EPERM; | 380 | return EPERM; |
381 | if (kind == _ACL_TYPE_DEFAULT && !VN_ISDIR(vp)) | 381 | if (kind == _ACL_TYPE_DEFAULT && !VN_ISDIR(vp)) |
382 | return ENOTDIR; | 382 | return ENOTDIR; |
383 | if (vp->v_inode.i_sb->s_flags & MS_RDONLY) | 383 | if (vp->i_sb->s_flags & MS_RDONLY) |
384 | return EROFS; | 384 | return EROFS; |
385 | va.va_mask = XFS_AT_UID; | 385 | va.va_mask = XFS_AT_UID; |
386 | error = xfs_getattr(ip, &va, 0); | 386 | error = xfs_getattr(ip, &va, 0); |