aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ext3/namei.c4
-rw-r--r--fs/ext4/namei.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext3/namei.c b/fs/ext3/namei.c
index 287b304d42a7..2c2d700c1ccf 100644
--- a/fs/ext3/namei.c
+++ b/fs/ext3/namei.c
@@ -1161,9 +1161,9 @@ static struct ext3_dir_entry_2 *do_split(handle_t *handle, struct inode *dir,
1161 u32 hash2; 1161 u32 hash2;
1162 struct dx_map_entry *map; 1162 struct dx_map_entry *map;
1163 char *data1 = (*bh)->b_data, *data2; 1163 char *data1 = (*bh)->b_data, *data2;
1164 unsigned split, move, size, i; 1164 unsigned split, move, size;
1165 struct ext3_dir_entry_2 *de = NULL, *de2; 1165 struct ext3_dir_entry_2 *de = NULL, *de2;
1166 int err = 0; 1166 int err = 0, i;
1167 1167
1168 bh2 = ext3_append (handle, dir, &newblock, &err); 1168 bh2 = ext3_append (handle, dir, &newblock, &err);
1169 if (!(bh2)) { 1169 if (!(bh2)) {
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
index 315858db8078..84a68ae623c1 100644
--- a/fs/ext4/namei.c
+++ b/fs/ext4/namei.c
@@ -1171,9 +1171,9 @@ static struct ext4_dir_entry_2 *do_split(handle_t *handle, struct inode *dir,
1171 u32 hash2; 1171 u32 hash2;
1172 struct dx_map_entry *map; 1172 struct dx_map_entry *map;
1173 char *data1 = (*bh)->b_data, *data2; 1173 char *data1 = (*bh)->b_data, *data2;
1174 unsigned split, move, size, i; 1174 unsigned split, move, size;
1175 struct ext4_dir_entry_2 *de = NULL, *de2; 1175 struct ext4_dir_entry_2 *de = NULL, *de2;
1176 int err = 0; 1176 int err = 0, i;
1177 1177
1178 bh2 = ext4_append (handle, dir, &newblock, &err); 1178 bh2 = ext4_append (handle, dir, &newblock, &err);
1179 if (!(bh2)) { 1179 if (!(bh2)) {