Re: [PATCH] btrfs-progs: free-space-cache: Use DIV_ROUND_UP() to replace open code

2018-03-05 Thread David Sterba
On Mon, Mar 05, 2018 at 04:09:12PM +0800, Qu Wenruo wrote: > Signed-off-by: Qu Wenruo Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] btrfs-progs: free-space-cache: Use DIV_ROUND_UP() to replace open code

2018-03-05 Thread Qu Wenruo
Signed-off-by: Qu Wenruo --- free-space-cache.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/free-space-cache.c b/free-space-cache.c index 50356d0462dd..f933f9f1cf3f 100644 --- a/free-space-cache.c +++ b/free-space-cache.c @@ -54,8 +54,7 @@ static int io_ctl_init(struct i