diff options
author | Peng Tao <bergwolf@gmail.com> | 2012-08-24 00:27:51 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-10 10:59:40 -0800 |
commit | 0e252d8f530e5d322c53d014ce07b8115dfdac78 (patch) | |
tree | 12dac724ed3acd8267392e122f80398e52267347 /fs/generic_acl.c | |
parent | f036099aa85d361fd062384c8e831b580de7bbb2 (diff) |
pnfsblock: fix partial page buffer wirte
commit fe6e1e8d9fad86873eb74a26e80a8f91f9e870b5 upstream.
If applications use flock to protect its write range, generic NFS
will not do read-modify-write cycle at page cache level. Therefore
LD should know how to handle non-sector aligned writes. Otherwise
there will be data corruption.
Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/generic_acl.c')
0 files changed, 0 insertions, 0 deletions