diff options
author | Hin-Tak Leung <htl10@users.sourceforge.net> | 2015-09-09 15:38:07 -0700 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2015-10-13 03:46:09 +0100 |
commit | d46a34909db526644edf8ae62058d8371dd5f7e9 (patch) | |
tree | a62c4d3f1ab9dff41b7bc3602a3eb1f7029244bc /lib/rbtree.c | |
parent | dd04e674cde34f570509b9e2a6b549af89897640 (diff) | |
download | kernel_samsung_smdk4412-d46a34909db526644edf8ae62058d8371dd5f7e9.zip kernel_samsung_smdk4412-d46a34909db526644edf8ae62058d8371dd5f7e9.tar.gz kernel_samsung_smdk4412-d46a34909db526644edf8ae62058d8371dd5f7e9.tar.bz2 |
hfs: fix B-tree corruption after insertion at position 0
commit b4cc0efea4f0bfa2477c56af406cfcf3d3e58680 upstream.
Fix B-tree corruption when a new record is inserted at position 0 in the
node in hfs_brec_insert().
This is an identical change to the corresponding hfs b-tree code to Sergei
Antonov's "hfsplus: fix B-tree corruption after insertion at position 0",
to keep similar code paths in the hfs and hfsplus drivers in sync, where
appropriate.
Signed-off-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Cc: Sergei Antonov <saproj@gmail.com>
Cc: Joe Perches <joe@perches.com>
Reviewed-by: Vyacheslav Dubeyko <slava@dubeyko.com>
Cc: Anton Altaparmakov <anton@tuxera.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'lib/rbtree.c')
0 files changed, 0 insertions, 0 deletions