All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] afs: use correct afs_call_type in yfs_fs_store_opaque_acl2
@ 2019-08-09  8:43 YueHaibing
  2019-08-09 17:34 ` Jeffrey E Altman
  0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2019-08-09  8:43 UTC (permalink / raw)
  To: dhowells; +Cc: linux-kernel, linux-afs, YueHaibing

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>
---
 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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] afs: use correct afs_call_type in yfs_fs_store_opaque_acl2
  2019-08-09  8:43 [PATCH -next] afs: use correct afs_call_type in yfs_fs_store_opaque_acl2 YueHaibing
@ 2019-08-09 17:34 ` Jeffrey E Altman
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey E Altman @ 2019-08-09 17:34 UTC (permalink / raw)
  To: YueHaibing, dhowells; +Cc: linux-kernel, linux-afs


[-- Attachment #1.1: Type: text/plain, Size: 962 bytes --]

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 <yuehaibing@huawei.com>
> ---
>  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,
> 

[-- Attachment #1.2: jaltman.vcf --]
[-- Type: text/x-vcard, Size: 283 bytes --]

begin:vcard
fn:Jeffrey Altman
n:Altman;Jeffrey
org:AuriStor, Inc.
adr:;;255 W 94TH ST STE 6B;New York;NY;10025-6985;United States
email;internet:jaltman@auristor.com
title:CEO
tel;work:+1-212-769-9018
url:https://www.linkedin.com/in/jeffreyaltman/
version:2.1
end:vcard


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4033 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-09 17:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-09  8:43 [PATCH -next] afs: use correct afs_call_type in yfs_fs_store_opaque_acl2 YueHaibing
2019-08-09 17:34 ` Jeffrey E Altman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.