summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorYihao Wu <wuyihao@linux.alibaba.com>2019-03-06 21:03:50 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-23 13:19:53 +0100
commit33c164d59f3cead1b8a42441e0abc8d7788a202b (patch)
tree14c96431da4e2695f1cf62a5f96ceff6c2152319 /drivers/base
parente4ea22f928dafeac5900d7012500eeeb0173f405 (diff)
nfsd: fix wrong check in write_v4_end_grace()
commit dd838821f0a29781b185cd8fb8e48d5c177bd838 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions