diff options
author | Hin-Tak Leung <htl10@users.sourceforge.net> | 2015-09-09 15:38:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-10 13:29:01 -0700 |
commit | b4cc0efea4f0bfa2477c56af406cfcf3d3e58680 (patch) | |
tree | ce77f4bb0f58aecc33d087444bdf7283769ee7c9 /fs/ocfs2/uptodate.c | |
parent | 7cb74be6fd827e314f81df3c5889b87e4c87c569 (diff) | |
download | linux-b4cc0efea4f0bfa2477c56af406cfcf3d3e58680.tar.gz linux-b4cc0efea4f0bfa2477c56af406cfcf3d3e58680.tar.bz2 linux-b4cc0efea4f0bfa2477c56af406cfcf3d3e58680.zip |
hfs: fix B-tree corruption after insertion at position 0
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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/uptodate.c')
0 files changed, 0 insertions, 0 deletions