From: Takashi Iwai Date: Fri, 13 Aug 2010 13:53:49 +0000 (+0200) Subject: nfsd: fix NULL dereference in nfsd_statfs() X-Git-Tag: v2.6.36-rc3~14^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6360efb83cd6dd1476cd758834c8277508c1f15;p=pandora-kernel.git nfsd: fix NULL dereference in nfsd_statfs() The commit ebabe9a9001af0af56c0c2780ca1576246e7a74b pass a struct path to vfs_statfs introduced the struct path initialization, and this seems to trigger an Oops on my machine. fh_dentry field may be NULL and set later in fh_verify(), thus the initialization of path must be after fh_verify(). Signed-off-by: Takashi Iwai Reviewed-by: Christoph Hellwig Reviewed-by: Minchan Kim Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed