[27/50] ext34: ensure do_split leaves enough free space in both blocks

2007-09-24 Thread Greg KH
From: Eric Sandeen <[EMAIL PROTECTED]> commit ef2b02d3e617cb0400eedf2668f86215e1b0e6af in mainline. The do_split() function for htree dir blocks is intended to split a leaf block to make room for a new entry. It sorts the entries in the original block by hash value, then moves the last half of

[27/50] ext34: ensure do_split leaves enough free space in both blocks

2007-09-24 Thread Greg KH
From: Eric Sandeen [EMAIL PROTECTED] commit ef2b02d3e617cb0400eedf2668f86215e1b0e6af in mainline. The do_split() function for htree dir blocks is intended to split a leaf block to make room for a new entry. It sorts the entries in the original block by hash value, then moves the last half of