summaryrefslogtreecommitdiffstats
path: root/fs/ext4/move_extent.c
diff options
context:
space:
mode:
authorDmitry Monakhov <dmonakhov@openvz.org>2014-08-31 05:50:56 +0200
committerTheodore Ts'o <tytso@mit.edu>2014-08-31 05:50:56 +0200
commitf8fb4f415034baeed983ca2fb0f51bd74d7370b0 (patch)
tree8c3c0795608c995d0da536db2c47ae9742b0d39b /fs/ext4/move_extent.c
parentext4: use ext4_update_i_disksize instead of opencoded ones (diff)
downloadlinux-f8fb4f415034baeed983ca2fb0f51bd74d7370b0.tar.xz
linux-f8fb4f415034baeed983ca2fb0f51bd74d7370b0.zip
ext4: use ext4_ext_next_allocated_block instead of mext_next_extent
This allows us to make mext_next_extent static and potentially get rid of it. Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/move_extent.c')
-rw-r--r--fs/ext4/move_extent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/move_extent.c b/fs/ext4/move_extent.c
index 671a74b14fd7..123a51b05965 100644
--- a/fs/ext4/move_extent.c
+++ b/fs/ext4/move_extent.c
@@ -76,7 +76,7 @@ copy_extent_status(struct ext4_extent *src, struct ext4_extent *dest)
* ext4_ext_path structure refers to the last extent, or a negative error
* value on failure.
*/
-int
+static int
mext_next_extent(struct inode *inode, struct ext4_ext_path *path,
struct ext4_extent **extent)
{