kernel-fxtec-pro1x/include/linux/sunrpc
Andy Adamson bf118a342f NFSv4: include bitmap in nfsv4 get acl data
The NFSv4 bitmap size is unbounded: a server can return an arbitrary
sized bitmap in an FATTR4_WORD0_ACL request.  Replace using the
nfs4_fattr_bitmap_maxsz as a guess to the maximum bitmask returned by a server
with the inclusion of the bitmap (xdr length plus bitmasks) and the acl data
xdr length to the (cached) acl page data.

This is a general solution to commit e5012d1f "NFSv4.1: update
nfs4_fattr_bitmap_maxsz" and fixes hitting a BUG_ON in xdr_shrink_bufhead
when getting ACLs.

Fix a bug in decode_getacl that returned -EINVAL on ACLs > page when getxattr
was called with a NULL buffer, preventing ACL > PAGE_SIZE from being retrieved.

Cc: stable@kernel.org
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2012-01-05 10:42:42 -05:00
..
auth.h SUNRPC: Clean up the RPCSEC_GSS service ticket requests 2012-01-05 10:42:38 -05:00
auth_gss.h SUNRPC: Clean up the RPCSEC_GSS service ticket requests 2012-01-05 10:42:38 -05:00
bc_xprt.h SUNRPC: sunrpc should not explicitly depend on NFS config options 2011-07-15 09:12:23 -04:00
cache.h atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
clnt.h Merge branch 'osd-devel' into nfs-for-next 2011-11-02 23:56:40 -04:00
debug.h
gss_api.h NFS: Determine initial mount security 2011-03-24 13:52:42 -04:00
gss_asn1.h
gss_err.h
gss_krb5.h
gss_krb5_enctypes.h nfsd: fix dependency of nfsd on auth_rpcgss 2011-06-06 15:07:15 -04:00
Kbuild
metrics.h
msg_prot.h SUNRPC: Support for RPC over AF_LOCAL transports 2011-05-27 17:42:47 -04:00
rpc_pipe_fs.h SUNRPC/NFS: make rpc pipe upcall generic 2011-10-18 09:08:12 -07:00
rpc_rdma.h
sched.h SUNRPC: Allow caller of rpc_sleep_on() to select priority levels 2011-07-17 18:11:34 -04:00
stats.h
svc.h Merge branch 'osd-devel' into nfs-for-next 2011-11-02 23:56:40 -04:00
svc_rdma.h
svc_xprt.h include: replace linux/module.h with "struct module" wherever possible 2011-10-31 19:32:32 -04:00
svcauth.h
svcauth_gss.h Fix common misspellings 2011-03-31 11:26:23 -03:00
svcsock.h SUNRPC: Don't wait for full record to receive tcp data 2011-04-07 14:36:40 -04:00
timer.h atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
types.h
xdr.h NFSv4: include bitmap in nfsv4 get acl data 2012-01-05 10:42:42 -05:00
xprt.h SUNRPC: Replace xprt->resend and xprt->sending with a priority queue 2011-07-17 18:11:34 -04:00
xprtrdma.h
xprtsock.h