android_kernel_xiaomi_sdm845/fs/hfsplus
Christoph Hellwig 7fcc99f4f2 hfsplus: add missing extent locking in hfsplus_write_inode
Most of the extent handling code already does proper SMP locking, but
hfsplus_write_inode was calling into hfsplus_ext_write_extent without
taking the extents_lock.  Fix this by splitting hfsplus_ext_write_extent
into an internal helper that expects the lock, and a public interface
that first acquires it.

Also add a few locking asserts and document the locking rules in
hfsplus_fs.h.

Signed-off-by: Christoph Hellwig <hch@tuxera.com>
2010-10-01 05:46:31 +02:00
..
bfind.c [PATCH] hfs: cleanup HFS+ prints 2006-01-18 19:20:22 -08:00
bitmap.c hfsplus: fix HFSPLUS_SB calling convention 2010-10-01 05:42:59 +02:00
bnode.c [PATCH] fs: Conversions from kmalloc+memset to k(z|c)alloc 2006-09-27 08:26:10 -07:00
brec.c [PATCH] hfs: cleanup HFS+ prints 2006-01-18 19:20:22 -08:00
btree.c hfsplus: use atomic bitops for the superblock flags 2010-10-01 05:45:20 +02:00
catalog.c hfsplus: fix HFSPLUS_I calling convention 2010-10-01 05:43:31 +02:00
dir.c hfsplus: protect readdir against removals from open_dir_list 2010-10-01 05:45:25 +02:00
extents.c hfsplus: add missing extent locking in hfsplus_write_inode 2010-10-01 05:46:31 +02:00
hfsplus_fs.h hfsplus: add missing extent locking in hfsplus_write_inode 2010-10-01 05:46:31 +02:00
hfsplus_raw.h [PATCH] extend the set of "__attribute__" shortcut macros 2007-02-11 10:51:35 -08:00
inode.c hfsplus: remove the rsrc_inodes list 2010-10-01 05:44:02 +02:00
ioctl.c hfsplus: fix HFSPLUS_I calling convention 2010-10-01 05:43:31 +02:00
Kconfig fs/Kconfig: move hfs, hfsplus out 2009-01-22 13:15:57 +03:00
Makefile
options.c hfsplus: use atomic bitops for the superblock flags 2010-10-01 05:45:20 +02:00
part_tbl.c hfsplus: fix HFSPLUS_SB calling convention 2010-10-01 05:42:59 +02:00
super.c hfsplus: use atomic bitops for the superblock flags 2010-10-01 05:45:20 +02:00
tables.c
unicode.c hfsplus: use atomic bitops for the superblock flags 2010-10-01 05:45:20 +02:00
wrapper.c hfsplus: use atomic bitops for the superblock flags 2010-10-01 05:45:20 +02:00