diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-01-16 15:05:44 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-01-27 15:51:15 -0500 |
commit | dee972b967ae111ad5705733de17a3bfc4632311 (patch) | |
tree | ca4cd3da053a74fe15742d17b0d2d4f5903bd57b /scripts/kernel-doc | |
parent | 949db153b6466c6f7cad5a427ecea94985927311 (diff) | |
download | blackbird-op-linux-dee972b967ae111ad5705733de17a3bfc4632311.tar.gz blackbird-op-linux-dee972b967ae111ad5705733de17a3bfc4632311.zip |
NFS: Fix error reporting in nfs_xdev_mount
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]
Diffstat (limited to 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions