netfs: fix parameter of cleanup()
authorJeffle Xu <jefflexu@linux.alibaba.com>
Tue, 7 Dec 2021 03:14:49 +0000 (11:14 +0800)
committerDavid Howells <dhowells@redhat.com>
Tue, 7 Dec 2021 15:47:09 +0000 (15:47 +0000)
commit3cfef1b612e15a0c2f5b1c9d3f3f31ad72d56fcd
treef628eff53c3001c064b42e214c82d24abe678d85
parent598ad0bd09329818ee041cb3e4b60ba0a70cb1ee
netfs: fix parameter of cleanup()

The order of these two parameters is just reversed. gcc didn't warn on
that, probably because 'void *' can be converted from or to other
pointer types without warning.

Cc: stable@vger.kernel.org
Fixes: 3d3c95046742 ("netfs: Provide readahead and readpage netfs helpers")
Fixes: e1b1240c1ff5 ("netfs: Add write_begin helper")
Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Link: https://lore.kernel.org/r/20211207031449.100510-1-jefflexu@linux.alibaba.com/
fs/netfs/read_helper.c