Skip to content
Commit 97ae91bb authored by Kazuo Ito's avatar Kazuo Ito Committed by Trond Myklebust
Browse files

pNFS: Fix potential corruption of page being written



nfs_want_read_modify_write() didn't check for !PagePrivate when pNFS
block or SCSI layout was in use, therefore we could lose data forever
if the page being written was filled by a read before completion.

Signed-off-by: default avatarKazuo Ito <ito_kazuo_g3@lab.ntt.co.jp>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent bf211ca1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment