mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
NFS: introduce generic decode_getattr function
Getattr should be able to decode errors and the readdir file handle. decode_getfattr_attrs does the actual attribute decoding, while decode_getfattr_generic will check the opcode before decoding. This will let other functions call decode_getfattr_attrs to decode their attributes. Signed-off-by: Bryan Schumaker <bjschuma@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
9942438089
commit
ae42c70a60
1 changed files with 98 additions and 19 deletions
117
fs/nfs/nfs4xdr.c
117
fs/nfs/nfs4xdr.c
Loading…
Add table
Add a link
Reference in a new issue