/mausezahn/

ef='git://git.distanz.ch/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-04-11 10:17:46 +0100
committerArnd Bergmann <arnd@arndb.de>2016-04-23 22:38:08 +0200
commit987aedb5d6f6e10c5203c6d0aab9a60ec22c7e93 (patch)
treecdcbee3ca0d178d79ae33cf94b8f3427a1bc7eae
parentc3b46c73264b03000d1e18b22f5caf63332547c9 (diff)
generic syscalls: wire up preadv2 and pwritev2 syscalls
These new syscalls are implemented as generic code, so enable them for architectures like arm64 which use the generic syscall table. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
ff/fs/ext2/dir.c?id=6e1db88d536adcbbfe562b2d4b7d6425784fff12&id2=f4e420dc423148fba637af1ab618fa8896dfb2d6'>diff)
introduce __block_write_begin
Split up the block_write_begin implementation - __block_write_begin is a new trivial wrapper for block_prepare_write that always takes an already allocated page and can be either called from block_write_begin or filesystem code that already has a page allocated. Remove the handling of already allocated pages from block_write_begin after switching all callers that do it to __block_write_begin. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext2/dir.c')