WSL2-Linux-Kernel/fs/hfsplus
Matthew Garrett 7dea9665fe hfsplus: fix bless ioctl when used with hardlinks
HFS+ doesn't really implement hard links - instead, hardlinks are indicated
by a magic file type which refers to an indirect node in a hidden
directory. The spec indicates that stat() should return the inode number
of the indirect node, but it turns out that this doesn't satisfy the
firmware when it's looking for a bootloader - it wants the catalog ID of
the hardlink file instead. Fix up this case.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-06-17 14:39:59 -07: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
bfind.c hfsplus: over 80 character lines clean-up 2010-12-16 18:08:45 +01:00
bitmap.c hfsplus: over 80 character lines clean-up 2010-12-16 18:08:45 +01:00
bnode.c hfsplus: %L-to-%ll, macro correction, and remove unneeded braces 2010-12-16 18:08:46 +01:00
brec.c hfsplus: Add additional range check to handle on-disk corruptions 2011-07-22 16:36:56 +02:00
btree.c hfsplus: over 80 character lines clean-up 2010-12-16 18:08:45 +01:00
catalog.c hfsplus: Fix potential buffer overflows 2012-05-04 17:11:24 -07:00
dir.c hfsplus: Fix potential buffer overflows 2012-05-04 17:11:24 -07:00
extents.c hfsplus: Add error propagation for hfsplus_ext_write_extent_locked 2011-07-07 17:45:46 +02:00
hfsplus_fs.h hfsplus: add an ioctl to bless files 2012-03-20 21:29:53 -04:00
hfsplus_raw.h hfsplus: change finder_info to u32 2012-03-20 21:29:52 -04:00
inode.c hfsplus: initialise userflags 2012-03-20 21:29:52 -04:00
ioctl.c hfsplus: fix bless ioctl when used with hardlinks 2012-06-17 14:39:59 -07:00
options.c vfs: switch ->show_options() to struct dentry * 2012-01-06 23:19:54 -05:00
part_tbl.c hfsplus: ensure bio requests are not smaller than the hardware sectors 2011-07-22 16:37:44 +02:00
super.c vfs: Rename end_writeback() to clear_inode() 2012-05-06 13:43:41 +08:00
tables.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
unicode.c hfsplus: assignments inside `if' condition clean-up 2011-06-30 13:40:58 +02:00
wrapper.c hfsplus: fix overflow in sector calculations in hfsplus_submit_bio 2012-06-17 14:39:45 -07:00