mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -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
|
|
@ -345,7 +345,7 @@ static ssize_t ntfs_prepare_file_for_write(struct kiocb *iocb,
|
|||
"0x%llx, count 0x%zx.", vi->i_ino,
|
||||
(unsigned)le32_to_cpu(ni->type),
|
||||
(unsigned long long)iocb->ki_pos, count);
|
||||
err = generic_write_checks(file, &iocb->ki_pos, &count, S_ISBLK(vi->i_mode));
|
||||
err = generic_write_checks(file, &iocb->ki_pos, &count);
|
||||
if (unlikely(err))
|
||||
goto out;
|
||||
iov_iter_truncate(from, count);
|
||||
|
|
|
|||
Loading…
Reference in a new issue