diff mbox series

posix_acl: fix stale posix_acl_update_mode() comment

Message ID 20190703050740.13730-1-sergey.senozhatsky@gmail.com (mailing list archive)
State New, archived
Headers show
Series posix_acl: fix stale posix_acl_update_mode() comment | expand

Commit Message

Sergey Senozhatsky July 3, 2019, 5:07 a.m. UTC
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 mbox series

Patch

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.
  */