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)
commitae42c70a60fe330d9c2af7c4b92ce78484308e37
treea70a200f3d031240e32e69d87375b021004e9817
parent9942438089d5c0e3adecdcb7bc360b8fe0ce7e62
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
This page took 0.026381 seconds and 5 git commands to generate.