diff options
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | 2014-04-04 01:47:16 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-04 03:20:57 +0400 |
commit | 2b665e276c15ba7d9fc8cdd16931883a51ed13e4 (patch) | |
tree | 69853d98f18d80cb04dc20c74d1e0e37d6c1a162 /fs/ext4/file.c | |
parent | 9c339255cb01806efbaec3d296f3e44c9357d574 (diff) | |
download | linux-2b665e276c15ba7d9fc8cdd16931883a51ed13e4.tar.xz |
fs/direct-io.c: remove redundant comparison
The return value of bio_get_nr_vecs() cannot be bigger than
BIO_MAX_PAGES, so we can remove redundant the comparison between
nr_pages and BIO_MAX_PAGES.
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext4/file.c')
0 files changed, 0 insertions, 0 deletions