]> git.karo-electronics.de Git - mv-sheeva.git/commit
xfs: cleanup xfs_iomap_eof_align_last_fsb
authorChristoph Hellwig <hch@infradead.org>
Sun, 18 Dec 2011 20:00:05 +0000 (20:00 +0000)
committerBen Myers <bpm@sgi.com>
Fri, 13 Jan 2012 18:11:46 +0000 (12:11 -0600)
commitbf322d983e540f66517db85b6870017613bb1e8d
treef01eb47527c526d3654746db1f2533eae8cfe050
parent673e8e597c06eb81954bf21a10f5cce74a1de8f1
xfs: cleanup xfs_iomap_eof_align_last_fsb

Replace the nasty if, else if, elseif condition with more natural C flow
that expressed the logic we want here better.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_iomap.c