diff options
| author | Gang He <[email protected]> | 2020-08-07 06:17:56 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-08-07 18:33:21 +0000 |
| commit | 504ec37dfdfbf9c65166c51f7b12126d2a9b18dc (patch) | |
| tree | 5b71b21010320912f58251e86919bf986fc25b30 /lib/mpi/mpiutil.c | |
| parent | ntfs: fix ntfs_test_inode and ntfs_init_locked_inode function type (diff) | |
| download | kernel-504ec37dfdfbf9c65166c51f7b12126d2a9b18dc.tar.gz kernel-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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Joseph Qi <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Junxiao Bi <[email protected]>
Cc: Changwei Ge <[email protected]>
Cc: Jun Piao <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
