summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfsfh.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2010-05-01 12:56:06 -0400
committerJ. Bruce Fields <bfields@citi.umich.edu>2010-05-07 19:08:47 -0400
commit5d4cec2f2fdbb3d830fa014226d0d965df548bad (patch)
treef5cb399d4fc29aec57e700d2b77731fe68e4a537 /fs/nfsd/nfsfh.h
parent5306293c9cd2caf41849cc909281bda628bb989e (diff)
downloadlinux-5d4cec2f2fdbb3d830fa014226d0d965df548bad.tar.gz
linux-5d4cec2f2fdbb3d830fa014226d0d965df548bad.tar.bz2
linux-5d4cec2f2fdbb3d830fa014226d0d965df548bad.zip
nfsd4: fix bare destroy_session null dereference
It's legal to send a DESTROY_SESSION outside any session (as the only operation in a compound), in which case cstate->session will be NULL; check for that case. While we're at it, move these checks into a separate helper function. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/nfsfh.h')
0 files changed, 0 insertions, 0 deletions