diff options
author | Yihao Wu <wuyihao@linux.alibaba.com> | 2019-03-06 21:03:50 +0800 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-03-06 09:58:20 -0500 |
commit | dd838821f0a29781b185cd8fb8e48d5c177bd838 (patch) | |
tree | 426405e03364e391bd2ae17fdafe19e8c8ffda39 /drivers/pinctrl/pinctrl-coh901.c | |
parent | b602345da6cbb135ba68cf042df8ec9a73da7981 (diff) |
nfsd: fix wrong check in write_v4_end_grace()
Commit 62a063b8e7d1 "nfsd4: fix crash on writing v4_end_grace before
nfsd startup" is trying to fix a NULL dereference issue, but it
mistakenly checks if the nfsd server is started. So fix it.
Fixes: 62a063b8e7d1 "nfsd4: fix crash on writing v4_end_grace before nfsd startup"
Cc: stable@vger.kernel.org
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Signed-off-by: Yihao Wu <wuyihao@linux.alibaba.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'drivers/pinctrl/pinctrl-coh901.c')
0 files changed, 0 insertions, 0 deletions