diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-19 17:05:31 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-08-22 14:33:27 +0200 |
commit | 7533be858f5b9a036b9f91556a3ed70786abca8e (patch) | |
tree | 2caa095f7eb8d1460d65d6fb964293e93dad41ef /fs/afs/yfsclient.c | |
parent | afs: Fix possible oops in afs_lookup trace event (diff) | |
download | linux-7533be858f5b9a036b9f91556a3ed70786abca8e.tar.xz linux-7533be858f5b9a036b9f91556a3ed70786abca8e.zip |
afs: use correct afs_call_type in yfs_fs_store_opaque_acl2
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>
Diffstat (limited to '')
-rw-r--r-- | fs/afs/yfsclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/yfsclient.c b/fs/afs/yfsclient.c index 2575503170fc..ca2452806ebf 100644 --- a/fs/afs/yfsclient.c +++ b/fs/afs/yfsclient.c @@ -2171,7 +2171,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, |