diff options
author | 2010-10-14 09:54:39 -0400 | |
---|---|---|
committer | 2010-10-14 09:54:39 -0400 | |
commit | 90e616905a423126805186cb5754e10a704b30c8 (patch) | |
tree | f3b142b0414462ae9f267689c965d91c784760d4 /arch/x86/mm/fault.c | |
parent | hfsplus: remove superflous rootflags field in hfsplus_inode_info (diff) | |
download | linux-dev-90e616905a423126805186cb5754e10a704b30c8.tar.xz linux-dev-90e616905a423126805186cb5754e10a704b30c8.zip |
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>
Diffstat (limited to 'arch/x86/mm/fault.c')
0 files changed, 0 insertions, 0 deletions