summaryrefslogtreecommitdiff
path: root/libbcache/acl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcache/acl.c')
-rw-r--r--libbcache/acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcache/acl.c b/libbcache/acl.c
index 64d56165..468d98da 100644
--- a/libbcache/acl.c
+++ b/libbcache/acl.c
@@ -187,7 +187,7 @@ int bch_set_acl(struct inode *inode, struct posix_acl *acl, int type)
if (ret < 0)
return ret;
else {
- inode->i_ctime = CURRENT_TIME_SEC;
+ inode->i_ctime = current_fs_time(inode->i_sb);
mark_inode_dirty(inode);
if (ret == 0)
acl = NULL;