summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/super.h
diff options
context:
space:
mode:
authorGang He <ghe@suse.com>2020-08-07 08:17:56 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2020-08-07 20:33:21 +0200
commit504ec37dfdfbf9c65166c51f7b12126d2a9b18dc (patch)
tree5b71b21010320912f58251e86919bf986fc25b30 /fs/ocfs2/super.h
parentntfs: fix ntfs_test_inode and ntfs_init_locked_inode function type (diff)
downloadlinux-504ec37dfdfbf9c65166c51f7b12126d2a9b18dc.tar.xz
linux-504ec37dfdfbf9c65166c51f7b12126d2a9b18dc.zip
ocfs2: fix remounting needed after setfacl command
When use setfacl command to change a file's acl, the user cannot get the latest acl information from the file via getfacl command, until remounting the file system. e.g. setfacl -m u:ivan:rw /ocfs2/ivan getfacl /ocfs2/ivan getfacl: Removing leading '/' from absolute path names file: ocfs2/ivan owner: root group: root user::rw- group::r-- mask::r-- other::r-- The latest acl record("u:ivan:rw") cannot be returned via getfacl command until remounting. Signed-off-by: Gang He <ghe@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com> Cc: Mark Fasheh <mark@fasheh.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Junxiao Bi <junxiao.bi@oracle.com> Cc: Changwei Ge <gechangwei@live.cn> Cc: Jun Piao <piaojun@huawei.com> Link: http://lkml.kernel.org/r/20200717023751.9922-1-ghe@suse.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/super.h')
0 files changed, 0 insertions, 0 deletions