diff options
author | Christoph Hellwig <hch@infradead.org> | 2008-10-30 18:27:48 +1100 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-10-30 18:27:48 +1100 |
commit | ea5a3dc8356bf1cf27bab9a5a0da5dfbbb82013d (patch) | |
tree | 30af54170d0cb3b06c2ac21bc31bc57fc5eb4d43 /fs/xfs/xfs_acl.c | |
parent | 7ee49acfe54883f16d28d9486b789431a5804d18 (diff) | |
download | op-kernel-dev-ea5a3dc8356bf1cf27bab9a5a0da5dfbbb82013d.zip op-kernel-dev-ea5a3dc8356bf1cf27bab9a5a0da5dfbbb82013d.tar.gz |
[XFS] kill sys_cred
capable_cred has been unused for a while so we can kill it and sys_cred.
That also means the cred argument to xfs_setattr and xfs_change_file_space
can be removed now.
SGI-PV: 988918
SGI-Modid: xfs-linux-melb:xfs-kern:32412a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: David Chinner <david@fromorbit.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_acl.c')
-rw-r--r-- | fs/xfs/xfs_acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_acl.c b/fs/xfs/xfs_acl.c index b2f639a..8b3d1bd 100644 --- a/fs/xfs/xfs_acl.c +++ b/fs/xfs/xfs_acl.c @@ -758,7 +758,7 @@ xfs_acl_setmode( if (gap && nomask) iattr.ia_mode |= gap->ae_perm << 3; - return xfs_setattr(XFS_I(vp), &iattr, 0, sys_cred); + return xfs_setattr(XFS_I(vp), &iattr, 0); } /* |