diff options
author | Trond Myklebust | 2019-08-03 16:28:18 +0200 |
---|---|---|
committer | Trond Myklebust | 2019-08-05 04:35:41 +0200 |
commit | 09a54f0ebfe263bc27c90bbd80187b9a93283887 (patch) | |
tree | de7acc0ecef8265c0320a6f6ef0b04cf5e317103 /lib | |
parent | NFSv4: Fix a potential sleep while atomic in nfs4_do_reclaim() (diff) | |
download | kernel-qcow2-linux-09a54f0ebfe263bc27c90bbd80187b9a93283887.tar.gz kernel-qcow2-linux-09a54f0ebfe263bc27c90bbd80187b9a93283887.tar.xz kernel-qcow2-linux-09a54f0ebfe263bc27c90bbd80187b9a93283887.zip |
NFSv4: Fix an Oops in nfs4_do_setattr
If the user specifies an open mode of 3, then we don't have a NFSv4 state
attached to the context, and so we Oops when we try to dereference it.
Reported-by: Olga Kornievskaia <aglo@umich.edu>
Fixes: 29b59f9416937 ("NFSv4: change nfs4_do_setattr to take...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: stable@vger.kernel.org # v4.10: 991eedb1371dc: NFSv4: Only pass the...
Cc: stable@vger.kernel.org # v4.10+
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions