mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
generic_write_checks(): drop isblk argument
all remaining callers are passing 0; some just obscure that fact. Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
7ec7b94a33
commit
0fa6b005af
14 changed files with 36 additions and 60 deletions
|
|
@ -177,7 +177,7 @@ ncp_file_write_iter(struct kiocb *iocb, struct iov_iter *from)
|
|||
void *bouncebuffer;
|
||||
|
||||
ncp_dbg(1, "enter %pD2\n", file);
|
||||
errno = generic_write_checks(file, &pos, &count, 0);
|
||||
errno = generic_write_checks(file, &pos, &count);
|
||||
if (errno)
|
||||
return errno;
|
||||
iov_iter_truncate(from, count);
|
||||
|
|
|
|||
Loading…
Reference in a new issue