From: Trond Myklebust Date: Wed, 2 Jan 2008 18:28:57 +0000 (-0500) Subject: NFS: Fix a possible Oops in fs/nfs/super.c X-Git-Tag: v2.6.24-rc7~13^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9cc6c234bfe414ef36f484e3ad8be621854c440;p=pandora-kernel.git 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 --- Reading git-diff-tree failed