diff options
author | Tejun Heo <tj@kernel.org> | 2009-04-28 13:06:13 +0900 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-04-28 08:14:51 +0200 |
commit | e138b4e08ef65771000fbe6d93d67e3960ff862b (patch) | |
tree | 2f7593bc1774bd6771dc29b8a522d681e9aa1719 /include/linux/mg_disk.h | |
parent | 467ca759fc83fc35cb7d15aec0d74c62cffc4481 (diff) | |
download | kernel_samsung_smdk4412-e138b4e08ef65771000fbe6d93d67e3960ff862b.zip kernel_samsung_smdk4412-e138b4e08ef65771000fbe6d93d67e3960ff862b.tar.gz kernel_samsung_smdk4412-e138b4e08ef65771000fbe6d93d67e3960ff862b.tar.bz2 |
swim: clean up request completion paths
swim curiously tries to update request parameters before calling
__blk_end_request() when __blk_end_request() will do it anyway and
unnecessarily checks whether current_nr_sectors is zero right after
fetching.
Drop unnecessary stuff and use standard block layer mechanisms.
[ Impact: cleanup ]
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Laurent Vivier <Laurent@lvivier.info>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/mg_disk.h')
0 files changed, 0 insertions, 0 deletions