projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f248b10
)
btrfs-progs: close inode scan in copy_inodes
author
Zhao Lei
<zhaolei@cn.fujitsu.com>
Tue, 8 Sep 2015 13:16:51 +0000
(21:16 +0800)
committer
David Sterba
<dsterba@suse.com>
Wed, 9 Sep 2015 15:44:21 +0000
(17:44 +0200)
We need to call ext2fs_close_inode_scan to release resources from
ext2fs_open_inode_scan.
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
btrfs-convert.c
patch
|
blob
|
history
diff --git
a/btrfs-convert.c
b/btrfs-convert.c
index
934f4dc
..
e7f3c9e
100644
(file)
--- a/
btrfs-convert.c
+++ b/
btrfs-convert.c
@@
-1186,6
+1186,7
@@
static int copy_inodes(struct btrfs_root *root, ext2_filsys ext2_fs,
}
ret = btrfs_commit_transaction(trans, root);
BUG_ON(ret);
+ ext2fs_close_inode_scan(ext2_scan);
return ret;
}