diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index 8fed2ed12f38b3ab468a042964ae800479f18d18..8a11a8c67c42cdf199038ab35394e4ec9e192cdf 100644 --- a/fs/fuse/dev.c +++ b/fs/fuse/dev.c @@ -910,7 +910,7 @@ static ssize_t fuse_dev_write(struct kiocb *iocb, const struct iovec *iov, unsigned long nr_segs, loff_t pos) { int err; - unsigned nbytes = iov_length(iov, nr_segs); + size_t nbytes = iov_length(iov, nr_segs); struct fuse_req *req; struct fuse_out_header oh; struct fuse_copy_state cs;