summaryrefslogtreecommitdiff
path: root/fs/ext4
diff options
context:
space:
mode:
authorEric Whitney <enwlinux@gmail.com>2016-02-23 06:58:55 +0300
committerTheodore Ts'o <tytso@mit.edu>2016-02-23 06:58:55 +0300
commit29c6eaffc8868ef6fa71997d0ea507a02c52712c (patch)
treeda95ddff9f3adf35d1f476a28409f5def00949e8 /fs/ext4
parent6048c64b26097a0ffbd966866b599f990e674e9b (diff)
downloadlinux-29c6eaffc8868ef6fa71997d0ea507a02c52712c.tar.xz
ext4: trim unused parameter from convert_initialized_extent()
The flags parameter is also unused. Signed-off-by: Eric Whitney <enwlinux@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/extents.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index 3753ceb0b0dd..73a48c1657a1 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -3927,7 +3927,7 @@ get_reserved_cluster_alloc(struct inode *inode, ext4_lblk_t lblk_start,
static int
convert_initialized_extent(handle_t *handle, struct inode *inode,
struct ext4_map_blocks *map,
- struct ext4_ext_path **ppath, int flags,
+ struct ext4_ext_path **ppath,
unsigned int allocated)
{
struct ext4_ext_path *path = *ppath;
@@ -4347,7 +4347,7 @@ int ext4_ext_map_blocks(handle_t *handle, struct inode *inode,
(flags & EXT4_GET_BLOCKS_CONVERT_UNWRITTEN)) {
allocated = convert_initialized_extent(
handle, inode, map, &path,
- flags, allocated);
+ allocated);
goto out2;
} else if (!ext4_ext_is_unwritten(ex))
goto out;