| commit | 4c823cc3d568277aa6340d8df6981e34f4c4dee5 | [log] [tgz] |
|---|---|---|
| author | Ayan George <ayan@ayan.net> | Wed Sep 21 10:02:13 2011 +0200 |
| committer | Jens Axboe <axboe@kernel.dk> | Wed Sep 21 10:02:13 2011 +0200 |
| tree | 69d160a2baf1c6d346b1e4978cb294a2af9ad66f | |
| parent | 8a9c594422ecad912d6470888acdee9a1236ad68 [diff] |
drivers/block/loop.c: remove unnecessary bdev argument from loop_clr_fd() If the loop device is associated (lo->lo_state == Lo_bound), it will have a valid bdev pointed to by lo->lo_device. There is no reason to ever pass an additional block_device pointer. Signed-off-by: Ayan George <ayan.george@canonical.com> Cc: Phillip Susi <psusi@cfl.rr.com> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Andrew Morton <akpm@google.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>