]> git.neil.brown.name Git - LaFS.git/commit
Improve prune_some call sequence.
authorNeilBrown <neilb@suse.de>
Sun, 13 Jun 2010 08:02:21 +0000 (18:02 +1000)
committerNeilBrown <neilb@suse.de>
Sun, 13 Jun 2010 08:02:21 +0000 (18:02 +1000)
commitd1c6e4df108e7329cf08e5cc0370a3bd0a0ce9a4
tree527c7d7e4ed27c73bd58788cdf84774a2ee226a3
parent228e0f9cd1db5dcbb7b280812e13b771036ffa51
Improve prune_some call sequence.

We only need to use prune_some rather than prune if there
are addresses that will remain untouched, and we can easily
check for that.

Also, only dirty the block if prune_some actually makes a change.

Signed-off-by: NeilBrown <neilb@suse.de>
inode.c