linux/fs/hfsplus
Christoph Hellwig 90e616905a hfsplus: create correct initial catalog entries for device files
Make sure the initial insertation of the catalog entry already contains
the device number by calling init_special_inode early and setting writing
out the dev field of the on-disk permission structure.  The latter is
facilitated by sharing the almost identical hfsplus_set_perms helpers
between initial catalog entry creating and ->write_inode.

Unless we crashed just after mknod this bug was harmless as the inode
is marked dirty at the end of hfsplus_mknod, and hfsplus_write_inode
will update the catalog entry to contain the correct value.

Signed-off-by: Christoph Hellwig <hch@tuxera.com>
2010-10-14 09:54:39 -04:00
..
bfind.c hfsplus: handle more on-disk corruptions without oopsing 2010-10-14 09:53:48 -04: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 hfsplus: validate btree flags 2010-10-14 09:54:23 -04:00
btree.c hfsplus: validate btree flags 2010-10-14 09:54:23 -04:00
catalog.c hfsplus: create correct initial catalog entries for device files 2010-10-14 09:54:39 -04:00
dir.c hfsplus: create correct initial catalog entries for device files 2010-10-14 09:54:39 -04:00
extents.c hfsplus: add missing extent locking in hfsplus_write_inode 2010-10-01 05:46:31 +02:00
hfsplus_fs.h hfsplus: create correct initial catalog entries for device files 2010-10-14 09:54:39 -04:00
hfsplus_raw.h hfsplus: handle more on-disk corruptions without oopsing 2010-10-14 09:53:48 -04:00
inode.c hfsplus: create correct initial catalog entries for device files 2010-10-14 09:54:39 -04:00
ioctl.c hfsplus: remove superflous rootflags field in hfsplus_inode_info 2010-10-14 09:54:33 -04:00
Kconfig fs/Kconfig: move hfs, hfsplus out 2009-01-22 13:15:57 +03:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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