]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
NFS: Don't check request offset and size without holding a lock
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 17 Jul 2017 15:11:49 +0000 (11:11 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 15 Aug 2017 15:54:46 +0000 (11:54 -0400)
commite14bebf6de11a4b8476cf2b0a75bf7c3e69112d5
treed6d22e8c6a213ceb8d9e93565df99cf99fdba503
parenta0e265bc78010d2d831a968d4cea3c40a0efac8b
NFS: Don't check request offset and size without holding a lock

Request offsets and sizes are not guaranteed to be stable unless you
are holding the request locked.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/write.c