]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/staging/lustre/lustre/llite/file.c
staging/lustre/mdt: set ATTR_xTIME_SET to make atime update properly
[karo-tx-linux.git] / drivers / staging / lustre / lustre / llite / file.c
index 5bb2367ecce7546f8261687204b3b66d249a7e62..be423171646f0a596fba8eba8b112d98339cc22a 100644 (file)
@@ -95,8 +95,9 @@ static void ll_prepare_close(struct inode *inode, struct md_op_data *op_data,
 {
        ENTRY;
 
-       op_data->op_attr.ia_valid = ATTR_MODE | ATTR_ATIME_SET |
-                                ATTR_MTIME_SET | ATTR_CTIME_SET;
+       op_data->op_attr.ia_valid = ATTR_MODE | ATTR_ATIME | ATTR_ATIME_SET |
+                                       ATTR_MTIME | ATTR_MTIME_SET |
+                                       ATTR_CTIME | ATTR_CTIME_SET;
 
        if (!(och->och_flags & FMODE_WRITE))
                goto out;