linux/fs/hfsplus
Christoph Hellwig 249e635300 hfsplus: fix BKL leak in hfsplus_ioctl
Currenly the HFSPLUS_IOC_EXT2_GETFLAGS case never unlocks the BKL, which
can lead to easily reproduced lockups when doing multiple GETFLAGS ioctls.

Fix this by only taking the BKL for the HFSPLUS_IOC_EXT2_SETFLAGS case
as neither HFSPLUS_IOC_EXT2_GETFLAGS not the default error case needs it.

Signed-off-by: Christoph Hellwig <hch@tuxera.com>
2010-10-01 05:41:27 +02:00
..
bfind.c
bitmap.c hfsplus: check read_mapping_page() return value 2008-10-16 11:21:46 -07:00
bnode.c [PATCH] fs: Conversions from kmalloc+memset to k(z|c)alloc 2006-09-27 08:26:10 -07:00
brec.c
btree.c hfsplus: fix warning with 64k PAGE_SIZE 2008-04-30 08:29:52 -07:00
catalog.c hfsplus: fix Buffer overflow with a corrupted image 2008-10-16 11:21:46 -07:00
dir.c hfsplus: Push down BKL into ioctl function 2010-05-17 05:27:03 +02:00
extents.c hfsplus: fix possible deadlock when handling corrupted extents 2008-10-20 08:52:38 -07:00
hfsplus_fs.h get rid of file_fsync() 2010-08-09 16:47:43 -04:00
hfsplus_raw.h [PATCH] extend the set of "__attribute__" shortcut macros 2007-02-11 10:51:35 -08:00
inode.c get rid of file_fsync() 2010-08-09 16:47:43 -04:00
ioctl.c hfsplus: fix BKL leak in hfsplus_ioctl 2010-10-01 05:41:27 +02:00
Kconfig fs/Kconfig: move hfs, hfsplus out 2009-01-22 13:15:57 +03:00
Makefile
options.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
part_tbl.c fix file specification in comments 2006-10-03 23:01:26 +02:00
super.c convert remaining ->clear_inode() to ->evict_inode() 2010-08-09 16:48:37 -04:00
tables.c
unicode.c fs/hfsplus/unicode.c: fix uninitialized var warning 2008-02-08 09:22:36 -08:00
wrapper.c hfsplus: refuse to mount volumes larger than 2TB 2009-10-29 07:39:27 -07:00