aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/lustre/lustre/llite/llite_lib.c')
-rw-r--r--drivers/staging/lustre/lustre/llite/llite_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/llite/llite_lib.c b/drivers/staging/lustre/lustre/llite/llite_lib.c
index a27af7882170..d60425996948 100644
--- a/drivers/staging/lustre/lustre/llite/llite_lib.c
+++ b/drivers/staging/lustre/lustre/llite/llite_lib.c
@@ -1323,7 +1323,7 @@ int ll_setattr_raw(struct dentry *dentry, struct iattr *attr, bool hsm_import)
1323 attr->ia_valid |= ATTR_MTIME | ATTR_CTIME; 1323 attr->ia_valid |= ATTR_MTIME | ATTR_CTIME;
1324 } 1324 }
1325 1325
1326 /* POSIX: check before ATTR_*TIME_SET set (from inode_change_ok) */ 1326 /* POSIX: check before ATTR_*TIME_SET set (from setattr_prepare) */
1327 if (attr->ia_valid & TIMES_SET_FLAGS) { 1327 if (attr->ia_valid & TIMES_SET_FLAGS) {
1328 if ((!uid_eq(current_fsuid(), inode->i_uid)) && 1328 if ((!uid_eq(current_fsuid(), inode->i_uid)) &&
1329 !capable(CFS_CAP_FOWNER)) 1329 !capable(CFS_CAP_FOWNER))