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:
Al Viro
2015-04-04 04:05:48 -04:00
parent 7ec7b94a33
commit 0fa6b005af
14 changed files with 36 additions and 60 deletions

View File

@@ -2374,8 +2374,7 @@ relock:
/* communicate with ocfs2_dio_end_io */
ocfs2_iocb_set_rw_locked(iocb, rw_level);
ret = generic_write_checks(file, ppos, &count,
S_ISBLK(inode->i_mode));
ret = generic_write_checks(file, ppos, &count);
if (ret)
goto out_dio;