diff options
| author | Tahsin Erdogan <tahsin@google.com> | 2017-08-05 22:15:45 -0400 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-08-12 12:17:21 +0200 |
| commit | 282a3b6b34e31afaa59082c981166e13f2f7eb33 (patch) | |
| tree | aded0c3084b1207833d14543de43b5f7419afda0 /fs | |
| parent | a5797252faf69fa39a62fb0ac7cce5a39007b0bc (diff) | |
ext4: remove unused mode parameter
ext4_alloc_file_blocks() does not use its mode parameter. Remove it.
Signed-off-by: Tahsin Erdogan <tahsin@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/ext4/extents.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index ed15d254b..7b782b807 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -4674,7 +4674,7 @@ retry: static int ext4_alloc_file_blocks(struct file *file, ext4_lblk_t offset, ext4_lblk_t len, loff_t new_size, - int flags, int mode) + int flags) { struct inode *inode = file_inode(file); handle_t *handle; @@ -4847,7 +4847,7 @@ static long ext4_zero_range(struct file *file, loff_t offset, inode_dio_wait(inode); ret = ext4_alloc_file_blocks(file, lblk, max_blocks, new_size, - flags, mode); + flags); if (ret) goto out_dio; /* @@ -4988,7 +4988,7 @@ long ext4_fallocate(struct file *file, int mode, loff_t offset, loff_t len) } ret = ext4_alloc_file_blocks(file, lblk, max_blocks, new_size, - flags, mode); + flags); if (ret) goto out; |
