diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-04 10:05:48 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-12 04:29:48 +0200 |
commit | 0fa6b005afdb3152ce85df963302e59b61115f9b (patch) | |
tree | 23e3c90b10cbcf3d244615356619138055dd4e82 /fs/ncpfs/file.c | |
parent | blkdev_write_iter: expand generic_file_checks() call in there (diff) | |
download | linux-0fa6b005afdb3152ce85df963302e59b61115f9b.tar.xz linux-0fa6b005afdb3152ce85df963302e59b61115f9b.zip |
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>
Diffstat (limited to 'fs/ncpfs/file.c')
-rw-r--r-- | fs/ncpfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ncpfs/file.c b/fs/ncpfs/file.c index 479bf8db264e..ab6363b16556 100644 --- a/fs/ncpfs/file.c +++ b/fs/ncpfs/file.c @@ -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); |