[PATCH] posix_acl: fix stale posix_acl_update_mode() comment

From: Sergey Senozhatsky
Date: Wed Jul 03 2019 - 01:07:50 EST


inode_change_ok() was renamed to setattr_prepare() in 4.8-rc1.

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
---
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