summaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorDmitry Monakhov2007-10-16 10:25:02 +0200
committerLinus Torvalds2007-10-16 18:42:55 +0200
commit8268f5a7415d914fc855a86aa2284ac819dc6b2e (patch)
tree13628a6d3cb31f04472c4cccdc741979ecdf0ad0 /mm/filemap.c
parentfs: introduce write_begin, write_end, and perform_write aops (diff)
downloadkernel-qcow2-linux-8268f5a7415d914fc855a86aa2284ac819dc6b2e.tar.gz
kernel-qcow2-linux-8268f5a7415d914fc855a86aa2284ac819dc6b2e.tar.xz
kernel-qcow2-linux-8268f5a7415d914fc855a86aa2284ac819dc6b2e.zip
deny partial write for loop dev fd
Partial write can be easily supported by LO_CRYPT_NONE mode, but it is not easy in LO_CRYPT_CRYPTOAPI case, because of its block nature. I don't know who still used cryptoapi, but theoretically it is possible. So let's leave things as they are. Loop device doesn't support partial write before Nick's "write_begin/write_end" patch set, and let's it behave the same way after. Signed-off-by: Dmitriy Monakhov <dmonakhov@openvz.org> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions