Skip to content
Snippets Groups Projects
Commit ffec2db8 authored by ZhangXiaoxu's avatar ZhangXiaoxu Committed by 谢秀奇
Browse files

nfs: fix xfstest generic/099 failed on nfsv3


mainline inclusion
from linux-next/master
commit ded52fbe
category: bugfix
bugzilla: NA
CVE: NA

-------------------------------------------------

After setxattr, the nfsv3 cached the acl which set by user.

But at the backend, the shared file system (eg. ext4) will check
the acl, if it can merged with mode, it won't add acl to the file.
So, the nfsv3 cached acl is redundant.

Don't 'set_cached_acl' when setxattr.

Signed-off-by: default avatarZhangXiaoxu <zhangxiaoxu5@huawei.com>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarZhangXiaoxu <zhangxiaoxu5@huawei.com>
Reviewed-by: default avataryangerkun <yangerkun@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 1e56701a
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment