]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: introduce generic decode_getattr function
authorBryan Schumaker <bjschuma@netapp.com>
Thu, 21 Oct 2010 20:33:17 +0000 (16:33 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 23 Oct 2010 19:27:37 +0000 (15:27 -0400)
commite1a25762960571f06780a35a734769a6b7f77bb0
treea70a200f3d031240e32e69d87375b021004e9817
parentc26d71977971af394f0c6d47e0ce0a91df5e3102
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>
fs/nfs/nfs4xdr.c