projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs: Replace CURRENT_TIME_SEC with current_time() for inode timestamps
[cascardo/linux.git]
/
fs
/
jffs2
/
acl.c
diff --git
a/fs/jffs2/acl.c
b/fs/jffs2/acl.c
index
bc2693d
..
8fd0a78
100644
(file)
--- a/
fs/jffs2/acl.c
+++ b/
fs/jffs2/acl.c
@@
-242,7
+242,7
@@
int jffs2_set_acl(struct inode *inode, struct posix_acl *acl, int type)
attr.ia_valid = ATTR_MODE | ATTR_CTIME;
attr.ia_mode = mode;
- attr.ia_ctime =
CURRENT_TIME_SEC
;
+ attr.ia_ctime =
current_time(inode)
;
rc = jffs2_do_setattr(inode, &attr);
if (rc < 0)
return rc;