generic_write_checks(): drop isblk argument
all remaining callers are passing 0; some just obscure that fact. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user