From: Guo Chao Date: Thu, 21 Feb 2013 23:16:47 +0000 (-0800) Subject: loopdev: move common code into loop_figure_size() X-Git-Tag: v3.9-rc1~43^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b0576a3d835b4d46ed85d817ce016e90bf293a3;p=pandora-kernel.git loopdev: move common code into loop_figure_size() Update block device size in accord with gendisk size and let userspace know the change in loop_figure_size(). This is a clean up to remove common code of loop_figure_size()'s two callers. Signed-off-by: Guo Chao Cc: Alexander Viro Cc: Guo Chao Cc: M. Hindess Cc: Nikanth Karthikesan Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Jens Axboe --- Reading git-diff-tree failed