summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/vfs.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2019-02-15 19:13:15 +0800
committerJens Axboe <axboe@kernel.dk>2019-02-15 08:40:11 -0700
commitf70f44640759728d6e31326acbee08ca22d1066f (patch)
treec8504310301fb51dbf8a28612385b69d40dcc29d /fs/nfsd/vfs.c
parent45a3fb95298b326ab8175f2bd97bd8666017b692 (diff)
downloadlinux-f70f44640759728d6e31326acbee08ca22d1066f.tar.bz2
fs/buffer.c: use bvec iterator to truncate the bio
Once multi-page bvec is enabled, the last bvec may include more than one page, this patch use mp_bvec_last_segment() to truncate the bio. Reviewed-by: Omar Sandoval <osandov@fb.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/nfsd/vfs.c')
0 files changed, 0 insertions, 0 deletions