linux_dsm_epyc7002/fs/minix
Christoph Hellwig f4e420dc42 clean up write_begin usage for directories in pagecache
For filesystem that implement directories in pagecache we call
block_write_begin with an already allocated page for this code, while the
normal regular file write path uses the default block_write_begin behaviour.

Get rid of the __foofs_write_begin helper and opencode the normal write_begin
call in foofs_write_begin, while adding a new foofs_prepare_chunk helper for
the directory code.  The added benefit is that foofs_prepare_chunk has
a much saner calling convention.

Note that the interruptible flag passed into block_write_begin is always
ignored if we already pass in a page (see next patch for details), and
we never were doing truncations of exessive blocks for this case either so we
can switch directly to block_write_begin_newtrunc.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2010-08-09 16:47:31 -04:00
..
bitmap.c minix: replace inode uid,gid,mode init with helper 2010-05-21 18:31:24 -04:00
dir.c clean up write_begin usage for directories in pagecache 2010-08-09 16:47:31 -04:00
file.c rename the generic fsync implementations 2010-05-27 22:06:06 -04:00
inode.c clean up write_begin usage for directories in pagecache 2010-08-09 16:47:31 -04:00
itree_common.c [PATCH] Minix V3 support 2007-02-12 09:48:31 -08:00
itree_v1.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
itree_v2.c fs/minix: bugfix, number of indirect block ptrs per block depends on block size 2010-05-27 22:06:22 -04:00
Kconfig fs/Kconfig: move minix out 2009-01-22 13:15:58 +03:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
minix.h clean up write_begin usage for directories in pagecache 2010-08-09 16:47:31 -04:00
namei.c minix: replace inode uid,gid,mode init with helper 2010-05-21 18:31:24 -04:00