2019-08-09 08:47:02

by Yue Haibing

[permalink] [raw]
Subject: [PATCH -next] 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 <[email protected]>
---
fs/afs/yfsclient.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/afs/yfsclient.c b/fs/afs/yfsclient.c
index 2575503..ca24528 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,
--
2.7.4



2019-08-09 17:46:34

by Jeffrey Altman

[permalink] [raw]
Subject: Re: [PATCH -next] afs: use correct afs_call_type in yfs_fs_store_opaque_acl2

This change is correct.

On 8/9/2019 4:43 AM, YueHaibing wrote:
> 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 <[email protected]>
> ---
> fs/afs/yfsclient.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/afs/yfsclient.c b/fs/afs/yfsclient.c
> index 2575503..ca24528 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,
>


Attachments:
jaltman.vcf (283.00 B)
smime.p7s (3.94 kB)
S/MIME Cryptographic Signature
Download all attachments