xfs: nothing special about 1-block log sector
authorAlex Elder <aelder@sgi.com>
Tue, 13 Apr 2010 05:21:13 +0000 (15:21 +1000)
committerAlex Elder <aelder@sgi.com>
Wed, 19 May 2010 14:58:12 +0000 (09:58 -0500)
commit36adecff50b69df0369cc2022650c6087aeb255f
tree88341430b367a7b106c8eddcaaa90f1ffd2812db
parentff30a6221d95b609a37410a425937b11a55d465e
xfs: nothing special about 1-block log sector

There are a number of places where a log sector size of 1 uses
special case code.  The round_up() and round_down() macros
produce the correct result even when the log sector size is 1, and
this eliminates the need for treating this as a special case.

Signed-off-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_log_recover.c