author: Linus Torvalds <torvalds@linux-foundation.org> 2016-07-29 15:54:19 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2016-07-29 15:54:19 -0700
commit: a867d7349e94b6409b08629886a819f802377e91
parent: 601f887d6105ddd28dc569a1504595bdf8df8a5b
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/9p/acl.c b/fs/9p/acl.c
index 0576eaeb60b9..5b6a1743ea17 100644
--- a/fs/9p/acl.c
+++ b/fs/9p/acl.c
@@ -266,7 +266,7 @@ static int v9fs_xattr_set_acl(const struct xattr_handler *handler,
if (IS_ERR(acl))
return PTR_ERR(acl);
else if (acl) {
- retval = posix_acl_valid(acl);
+ retval = posix_acl_valid(inode->i_sb->s_user_ns, acl);
if (retval)
goto err_out;
}