diff options
| author | Takashi Iwai <[email protected]> | 2010-08-13 13:53:49 +0000 |
|---|---|---|
| committer | J. Bruce Fields <[email protected]> | 2010-08-26 17:23:16 +0000 |
| commit | f6360efb83cd6dd1476cd758834c8277508c1f15 (patch) | |
| tree | e57015159bf6f361d45050f28a8da7beaceaea60 /net/unix/af_unix.c | |
| parent | Merge commit 'v2.6.36-rc1' into HEAD (diff) | |
| download | kernel-f6360efb83cd6dd1476cd758834c8277508c1f15.tar.gz kernel-f6360efb83cd6dd1476cd758834c8277508c1f15.zip | |
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Minchan Kim <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
