diff options
author | Guo Chao <yan@linux.vnet.ibm.com> | 2013-02-21 15:16:47 -0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-02-22 10:43:22 +0100 |
commit | 7b0576a3d835b4d46ed85d817ce016e90bf293a3 (patch) | |
tree | 9c9d9780f3ef794e8d20d2057a722bcab843fad5 /tools/firewire/decode-fcp.c | |
parent | 541c742a7559eb65f0e36d3e2338c2ca532a3e61 (diff) | |
download | linux-7b0576a3d835b4d46ed85d817ce016e90bf293a3.tar.gz linux-7b0576a3d835b4d46ed85d817ce016e90bf293a3.tar.bz2 linux-7b0576a3d835b4d46ed85d817ce016e90bf293a3.zip |
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 <yan@linux.vnet.ibm.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Guo Chao <yan@linux.vnet.ibm.com>
Cc: M. Hindess <hindessm@uk.ibm.com>
Cc: Nikanth Karthikesan <knikanth@suse.de>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/firewire/decode-fcp.c')
0 files changed, 0 insertions, 0 deletions