summaryrefslogtreecommitdiff
path: root/libbcachefs/acl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/acl.c')
-rw-r--r--libbcachefs/acl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbcachefs/acl.c b/libbcachefs/acl.c
index 2632d21c..480941d6 100644
--- a/libbcachefs/acl.c
+++ b/libbcachefs/acl.c
@@ -193,8 +193,7 @@ int bch2_set_acl(struct inode *vinode, struct posix_acl *acl, int type)
if (ret < 0)
return ret;
else {
- inode->v.i_ctime =
- current_fs_time(inode->v.i_sb);
+ inode->v.i_ctime = current_time(&inode->v);
mark_inode_dirty(&inode->v);
if (ret == 0)
acl = NULL;