[bug report] afs: Set up the iov_iter before calling afs_extract_data()

David Howells dhowells at redhat.com
Thu Jan 28 05:58:19 EST 2021


Dan Carpenter <dan.carpenter at oracle.com> wrote:

>    249                  ret = afs_dir_check_page(dvnode, page, req->file_size);
>    250                  if (ret < 0) {
> 
> afs_dir_check_page() returns true/false instead of error codes.

Of course ret is signed, so it doesn't necessarily show up.

Thanks,
David




More information about the linux-afs mailing list