commit | 61d5048f149572434daee0cce5e1374a8a7cf3e8 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Feb 04 22:28:56 2008 -0800 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Tue Feb 05 09:44:16 2008 -0800 |
tree | 97ac9c25bc44a58145a750a99887195df31cbe40 | |
parent | 1b1b32f2c6f6bb32535d2da62075b51c980880eb [diff] |
clean up vmtruncate vmtruncate is a twisted maze of gotos, this patch cleans it up to have a proper if else for the two major cases of extending and truncating truncate and thus makes it a lot more readable while keeping exactly the same functinality. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>