aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/getroot.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-01-02 13:28:57 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-01-03 09:37:11 -0500
commite9cc6c234bfe414ef36f484e3ad8be621854c440 (patch)
tree8f1b6bf16c9f6b340fa398d39f55bcc51be4f05e /fs/nfs/getroot.c
parentb8c9a18712f7b617fda66d878ce3759c9e575ba0 (diff)
NFS: Fix a possible Oops in fs/nfs/super.c
Sigh... commit 4584f520e1f773082ef44ff4f8969a5d992b16ec (NFS: Fix NFS mountpoint crossing...) had a slight flaw: server can be NULL if sget() returned an existing superblock. Fix the fix by dereferencing s->s_fs_info. Thanks to Coverity/Adrian Bunk and Frank Filz for spotting the bug. (See http://bugzilla.kernel.org/show_bug.cgi?id=9647) Also add in the same namespace Oops fix for NFSv4 in both the mountpoint crossing case, and the referral case. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/getroot.c')
0 files changed, 0 insertions, 0 deletions