* [PATCH] posix_acl: fix stale posix_acl_update_mode() comment
@ 2019-07-03 5:07 Sergey Senozhatsky
0 siblings, 0 replies; only message in thread
From: Sergey Senozhatsky @ 2019-07-03 5:07 UTC (permalink / raw)
To: Alexander Viro; +Cc: linux-fsdevel, linux-kernel, Sergey Senozhatsky
inode_change_ok() was renamed to setattr_prepare() in 4.8-rc1.
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
---
fs/posix_acl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/posix_acl.c b/fs/posix_acl.c
index 84ad1c90d535..a76aa995a95d 100644
--- a/fs/posix_acl.c
+++ b/fs/posix_acl.c
@@ -637,7 +637,7 @@ EXPORT_SYMBOL_GPL(posix_acl_create);
* file mode, set *acl to NULL to indicate that no ACL should be set.
*
* As with chmod, clear the setgit bit if the caller is not in the owning group
- * or capable of CAP_FSETID (see inode_change_ok).
+ * or capable of CAP_FSETID (see setattr_prepare).
*
* Called from set_acl inode operations.
*/
--
2.22.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-07-03 5:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-03 5:07 [PATCH] posix_acl: fix stale posix_acl_update_mode() comment Sergey Senozhatsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).