diff options
author | Nathan Scott <nathans@sgi.com> | 2006-03-17 01:25:36 -0500 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-03-17 01:25:36 -0500 |
commit | ec86dc02fdc062d0d298814b1e78b482ab38caf7 (patch) | |
tree | 2746adfa5471f7026cdd5a9ba4c4853de6795256 /fs/xfs/xfs_attr.c | |
parent | 8867bc9bf0aed7181aa72c7c938c6ce830b75166 (diff) |
[XFS] Complete transition away from linvfs naming convention, finally.
SGI-PV: 947038
SGI-Modid: xfs-linux-melb:xfs-kern:25474a
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_attr.c')
-rw-r--r-- | fs/xfs/xfs_attr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_attr.c b/fs/xfs/xfs_attr.c index e5e91e9c7e89..acf1b7c9f1db 100644 --- a/fs/xfs/xfs_attr.c +++ b/fs/xfs/xfs_attr.c | |||
@@ -2522,7 +2522,7 @@ attr_user_capable( | |||
2522 | struct vnode *vp, | 2522 | struct vnode *vp, |
2523 | cred_t *cred) | 2523 | cred_t *cred) |
2524 | { | 2524 | { |
2525 | struct inode *inode = LINVFS_GET_IP(vp); | 2525 | struct inode *inode = vn_to_inode(vp); |
2526 | 2526 | ||
2527 | if (IS_IMMUTABLE(inode) || IS_APPEND(inode)) | 2527 | if (IS_IMMUTABLE(inode) || IS_APPEND(inode)) |
2528 | return -EPERM; | 2528 | return -EPERM; |
@@ -2540,7 +2540,7 @@ attr_trusted_capable( | |||
2540 | struct vnode *vp, | 2540 | struct vnode *vp, |
2541 | cred_t *cred) | 2541 | cred_t *cred) |
2542 | { | 2542 | { |
2543 | struct inode *inode = LINVFS_GET_IP(vp); | 2543 | struct inode *inode = vn_to_inode(vp); |
2544 | 2544 | ||
2545 | if (IS_IMMUTABLE(inode) || IS_APPEND(inode)) | 2545 | if (IS_IMMUTABLE(inode) || IS_APPEND(inode)) |
2546 | return -EPERM; | 2546 | return -EPERM; |