[PATCH] NFSv4: fix mount segfault on errors returned that are < -1000
Trond Myklebust authored
It turns out that nfs4_proc_get_root() may return raw NFSv4 errors instead of
mapping them to kernel errors.  Problem spotted by Neil Horman
<nhorman@tuxdriver.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
c12e87f4
Name Last commit Last update
..
Makefile NFSv4: Allow user to set the port used by the NFSv4 callback channel
callback.c NFSv4: Allow user to set the port used by the NFSv4 callback channel
callback.h NFSv4: Allow user to set the port used by the NFSv4 callback channel
callback_proc.c NFSv4: Ensure change attribute returned by GETATTR callback conforms to spec
callback_xdr.c [PATCH] NFSv4: Fix an Oops in the callback code.
delegation.c NFSv4: Fix an Oops in nfs_do_expire_all_delegations
delegation.h NFSv4: Ensure change attribute returned by GETATTR callback conforms to spec
dir.c [PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem
direct.c [PATCH] NFS: Fix a potential panic in O_DIRECT
file.c [PATCH] fix posix lock on NFS
idmap.c NFSv4: Allow entries in the idmap cache to expire
inode.c [PATCH] per-mountpoint noatime/nodiratime
mount_clnt.c SUNRPC: get rid of cl_chatty
nfs2xdr.c NFS: get rid of some needless code obfuscation in xdr_encode_sattr().
nfs3acl.c [PATCH] NFS: Introduce the use of inode->i_lock to protect fields in nfsi
nfs3proc.c NFSv3: try get_root user-supplied security_flavor
nfs3xdr.c NFS: Send valid mode bits to the server
nfs4_fs.h NFSv4: Remove requirement for machine creds for the "setclientid" operation
nfs4proc.c [PATCH] NFSv4: fix mount segfault on errors returned that are < -1000
nfs4renewd.c NFSv4: Remove requirement for machine creds for the "renew" operation
nfs4state.c NFSv4: Remove requirement for machine creds for the "setclientid" operation
nfs4xdr.c NFS: Send valid mode bits to the server
nfsroot.c [PATCH] nfsroot port= parameter fix [backport of 2.4 fix]
pagelist.c [PATCH] NFS: Replace nfs_page insertion sort with a radix sort
proc.c NFS: Send valid mode bits to the server
read.c NFS: support large reads and writes on the wire
symlink.c Fix nasty ncpfs symlink handling bug.
sysctl.c NFSv4: Allow entries in the idmap cache to expire
unlink.c SUNRPC: Further cleanups
write.c NFS: Make stat() return updated mtimes after a write()