git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
949db15
)
NFS: Fix error reporting in nfs_xdev_mount
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 16 Jan 2013 20:05:44 +0000
(15:05 -0500)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sun, 27 Jan 2013 20:51:15 +0000
(15:51 -0500)
Currently, nfs_xdev_mount converts all errors from clone_server() to
ENOMEM, which can then leak to userspace (for instance to 'mount'). Fix that.
Also ensure that if nfs_fs_mount_common() returns an error, we
don't dprintk(0)...
The regression originated in commit
3d176e3fe4f6dc379b252bf43e2e146a8f7caf01
(NFS: Use nfs_fs_mount_common() for xdev mounts)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@vger.kernel.org [>= 3.5]
fs/nfs/super.c
patch
|
blob
|
history
diff --cc
fs/nfs/super.c
Simple merge