Yihao Wu dd838821f0 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>
2019-03-06 09:58:20 -05:00
..
2014-07-08 17:14:27 -04:00
2018-09-25 20:34:54 -04:00
2018-12-27 20:59:50 -05:00
2018-09-25 20:34:54 -04:00
2018-02-08 15:18:32 -08:00
2018-08-09 16:11:21 -04:00
2018-04-03 15:08:15 -04:00
2018-09-25 20:34:54 -04:00
2018-09-25 20:34:54 -04:00