]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Fix an Oops in pnfs_mark_request_commit() when doing O_DIRECT
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 11 Jun 2021 17:40:55 +0000 (13:40 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 13 Jun 2021 23:36:49 +0000 (19:36 -0400)
commit961643dbbc406d4d2a28da231c1ce4d5234794c1
tree1084878902aa69defad205ef8fe8db7b2ad96444
parent7b9744db95096d788f58e89e43445050c3cf3b87
NFSv4: Fix an Oops in pnfs_mark_request_commit() when doing O_DIRECT

Fix an Oopsable condition in pnfs_mark_request_commit() when we're
putting a set of writes on the commit list to reschedule them after a
failed pNFS attempt.

Fixes: c0f608f61aa6 ("NFS/pNFS: Clean up pNFS commit operations")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/direct.c