NFS: add XDR decoder for mountd version 3 auth-flavor lists
Chuck Lever authored

Introduce an xdr_stream-based XDR decoder that can unpack the auth-
flavor list returned in a MNT3 reply.

The nfs_mount() function's caller allocates an array, and passes the
size and a pointer to it.  The decoder decodes all the flavors it can
into the array, and returns the number of decoded flavors.

If the caller is not interested in the auth flavors, it can pass a
value of zero as the size of the pre-allocated array.
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
a14017db
Name Last commit Last update
..
9p 9P doesn't need BKL in ->umount_begin()
adfs Cleanup of adfs headers
affs affs: add ->sync_fs
afs AFS: Correctly translate auth error aborts and don't failover in such cases
autofs switch follow_down()
autofs4 switch follow_down()
befs Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
bfs bfs: add ->sync_fs
btrfs Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block
cachefiles enforce ->sync_fs is only called for rw superblock
cifs push BKL down into ->put_super
coda splice: implement default splice_read method
configfs configfs: Rework configfs_depend_item() locking and make lockdep happy
cramfs fs/cramfs: return f_fsid for statfs(2)
debugfs debugfs: use specified mode to possibly mark files read/write only
devpts devpts: unregister the file system on error
dlm dlm: use more NOFS allocation
ecryptfs push BKL down into ->put_super
efs get rid of BKL in fs/efs
exofs [SCSI] Merge branch 'linus'
exportfs Merge branch 'next' into for-linus
ext2 trivial: ext2: fix a typo in comment in ext2.h
ext3 ext3: avoid unnecessary spinlock in critical POSIX ACL path
ext4 ext4: avoid unnecessary spinlock in critical POSIX ACL path
fat Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6
freevxfs
fscache
fuse
gfs2
hfs
hfsplus
hostfs
hpfs
hppfs
hugetlbfs
isofs
jbd
jbd2
jffs2
jfs
lockd
minix
ncpfs
nfs
nfs_common
nfsd
nilfs2
nls
notify
ntfs
ocfs2
omfs
openpromfs
partitions
proc
qnx4
quota
ramfs
reiserfs
romfs
smbfs
squashfs
sysfs
sysv
ubifs
udf
ufs
xfs
Kconfig
Kconfig.binfmt
Makefile
aio.c
anon_inodes.c
attr.c
bad_inode.c
binfmt_aout.c
binfmt_elf.c
binfmt_elf_fdpic.c
binfmt_em86.c
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
binfmt_som.c
bio-integrity.c
bio.c
block_dev.c
buffer.c
char_dev.c
compat.c
compat_binfmt_elf.c
compat_ioctl.c
dcache.c
dcookies.c
direct-io.c
drop_caches.c
eventfd.c
eventpoll.c
exec.c
fcntl.c
fifo.c
file.c
file_table.c
filesystems.c
fs-writeback.c
fs_struct.c
generic_acl.c
inode.c
internal.h
ioctl.c
ioprio.c
libfs.c
locks.c
mbcache.c
mpage.c
namei.c
namespace.c
nfsctl.c
no-block.c
open.c
pipe.c
pnode.c
pnode.h
posix_acl.c
read_write.c
read_write.h
readdir.c
select.c
seq_file.c
signalfd.c
splice.c
stack.c
stat.c
super.c
sync.c
timerfd.c
utimes.c
xattr.c
xattr_acl.c