]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: COPY and CLONE operations require the saved filehandle to be set
authorScott Mayhew <smayhew@redhat.com>
Thu, 8 Nov 2018 16:11:36 +0000 (11:11 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 8 Nov 2018 17:11:45 +0000 (12:11 -0500)
commit5fcc413fabffac82c12949e58f3cda636545ee0e
tree7d3ee070317b029e9f6b31ceeca8a96a4191afc4
parent709843e8177499c412cf0dc673bd465e73b44a05
nfsd: COPY and CLONE operations require the saved filehandle to be set

Make sure we have a saved filehandle, otherwise we'll oops with a null
pointer dereference in nfs4_preprocess_stateid_op().

Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c