summaryrefslogtreecommitdiffstats
path: root/fs/afs
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-08-19 16:05:31 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-10 10:35:24 +0100
commitcf9ec2e9056cb7407d72c68b8346bf5a30225122 (patch)
tree29438d42bd7301722c5de93a26f2287d8b4acf45 /fs/afs
parent3f66858358891311582a179d3443cfcdde476e86 (diff)
downloadlinux-stable-cf9ec2e9056cb7407d72c68b8346bf5a30225122.tar.gz
linux-stable-cf9ec2e9056cb7407d72c68b8346bf5a30225122.tar.bz2
linux-stable-cf9ec2e9056cb7407d72c68b8346bf5a30225122.zip
afs: use correct afs_call_type in yfs_fs_store_opaque_acl2
[ Upstream commit 7533be858f5b9a036b9f91556a3ed70786abca8e ] It seems that 'yfs_RXYFSStoreOpaqueACL2' should be use in yfs_fs_store_opaque_acl2(). Fixes: f5e4546347bc ("afs: Implement YFS ACL setting") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/afs')
-rw-r--r--fs/afs/yfsclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/yfsclient.c b/fs/afs/yfsclient.c
index 18722aaeda33..a1baf3f1f14d 100644
--- a/fs/afs/yfsclient.c
+++ b/fs/afs/yfsclient.c
@@ -2155,7 +2155,7 @@ int yfs_fs_store_opaque_acl2(struct afs_fs_cursor *fc, const struct afs_acl *acl
key_serial(fc->key), vnode->fid.vid, vnode->fid.vnode);
size = round_up(acl->size, 4);
- call = afs_alloc_flat_call(net, &yfs_RXYFSStoreStatus,
+ call = afs_alloc_flat_call(net, &yfs_RXYFSStoreOpaqueACL2,
sizeof(__be32) * 2 +
sizeof(struct yfs_xdr_YFSFid) +
sizeof(__be32) + size,