[PATCH] (1/5) ext2_free_blocks() cleanup
authorAlexander Viro <viro@math.psu.edu>
Sat, 9 Feb 2002 03:16:52 +0000 (19:16 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sat, 9 Feb 2002 03:16:52 +0000 (19:16 -0800)
commita12ebfc1f227f3ae096ef89af2777bad2d16d117
tree90f7cf2c86d9fd73a25b58b6a052d4a9b029bb64
parentd7b654751759e2a2e1d49aebf595c12e55ca7b69
[PATCH] (1/5) ext2_free_blocks() cleanup

new helper function - release_blocks(sb, n); in ext2_free_blocks() we
count the blocks we'd freed and update the fs-wide count of free blocks
in the end - just before unlocking superblock.  instead of doing that
step at a time.

reviewed by ext2 folks
fs/ext2/balloc.c