diff options
| author | Matthew Garrett <[email protected]> | 2012-06-17 21:05:25 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-06-17 21:39:59 +0000 |
| commit | 7dea9665fee828fb56db3bae5b9685d9fa006d33 (patch) | |
| tree | 1c3daa7f96d9567a171b7823d141800312d9e66a /fs/jbd2/commit.c | |
| parent | hfsplus: fix overflow in sector calculations in hfsplus_submit_bio (diff) | |
| download | kernel-7dea9665fee828fb56db3bae5b9685d9fa006d33.tar.gz kernel-7dea9665fee828fb56db3bae5b9685d9fa006d33.zip | |
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 <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
