]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: miscellaneous partial cluster cleanups
authorEric Whitney <enwlinux@gmail.com>
Sun, 23 Nov 2014 05:59:39 +0000 (00:59 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 23 Nov 2014 05:59:39 +0000 (00:59 -0500)
commitf51d819a2defd26b30bc374e4d351ea180a574b9
tree1316cb427103e7e75d9ce63fa37ac43f3926bcad
parent566d16282e29ebe341f24986f322da272943df4d
ext4: miscellaneous partial cluster cleanups

Add some casts and rearrange a few statements for improved readability.
Some code can also be simplified and made more readable if we set
partial_cluster to 0 rather than to a negative value when we can tell
we've hit the left edge of the punched region.

Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents.c