]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blobdiff - debugfs/set_fields.c
Merge branch 'maint' into next
[thirdparty/e2fsprogs.git] / debugfs / set_fields.c
index b4ca546aac44ce39378662bfe96f70c6aa9a4fce..c5f865e0d349b3c195b8e402866a8864b16f84f0 100644 (file)
@@ -556,8 +556,9 @@ static errcode_t parse_bmap(struct field_set_info *info,
        }
 
        retval = ext2fs_bmap2(current_fs, set_ino,
-                            (struct ext2_inode *) &set_inode,
-                            NULL, BMAP_SET, array_idx, NULL, &blk);
+                             (struct ext2_inode *) &set_inode,
+                             NULL, BMAP_ALLOC | BMAP_SET, array_idx, NULL,
+                             &blk);
        if (retval) {
                com_err("set_inode", retval, "while setting block map");
        }