diff options
author | Guo Chao <yan@linux.vnet.ibm.com> | 2013-02-22 00:16:43 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-02-22 10:42:46 +0100 |
commit | de33127d8d3f1d570aad8c2223cd81b206636bc1 (patch) | |
tree | e3c42e69a78a0fb98100e1e3d43352481a05d62d /block/blk-cgroup.c | |
parent | block: use i_size_write() in bd_set_size() (diff) | |
download | linux-de33127d8d3f1d570aad8c2223cd81b206636bc1.tar.xz linux-de33127d8d3f1d570aad8c2223cd81b206636bc1.zip |
block: remove redundant check to bd_openers()
bd_openers is stable under bd_mutex, no need to check it twice.
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 'block/blk-cgroup.c')
0 files changed, 0 insertions, 0 deletions