diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-04 04:05:48 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-11 22:29:48 -0400 |
commit | 0fa6b005afdb3152ce85df963302e59b61115f9b (patch) | |
tree | 23e3c90b10cbcf3d244615356619138055dd4e82 /fs/ocfs2 | |
parent | 7ec7b94a3339756dfbb88234e3e45a428e8c08fb (diff) |
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/ocfs2')
-rw-r--r-- | fs/ocfs2/file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index 0a6ec7e6efd8..1c11314946cb 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c | |||
@@ -2374,8 +2374,7 @@ relock: | |||
2374 | /* communicate with ocfs2_dio_end_io */ | 2374 | /* communicate with ocfs2_dio_end_io */ |
2375 | ocfs2_iocb_set_rw_locked(iocb, rw_level); | 2375 | ocfs2_iocb_set_rw_locked(iocb, rw_level); |
2376 | 2376 | ||
2377 | ret = generic_write_checks(file, ppos, &count, | 2377 | ret = generic_write_checks(file, ppos, &count); |
2378 | S_ISBLK(inode->i_mode)); | ||
2379 | if (ret) | 2378 | if (ret) |
2380 | goto out_dio; | 2379 | goto out_dio; |
2381 | 2380 | ||