btrfs-progs: change seen_fsid to hold fd and DIR
commit26908f61461c1897198b457a76856c78e849153f
authorMisono, Tomohiro <misono.tomohiro@jp.fujitsu.com>
Wed, 27 Sep 2017 02:02:47 +0000 (27 11:02 +0900)
committerDavid Sterba <dsterba@suse.com>
Fri, 6 Oct 2017 11:23:30 +0000 (6 13:23 +0200)
treea7d46ca7f5070032612ad2822e01a092ef349d08
parent836aa5202a4fa2ca34a5705c8808c7f7f1d40a8b
btrfs-progs: change seen_fsid to hold fd and DIR

Change seen_fsid to hold fd and DIR in order to keep access to each fs.
This will be used for 'subvol delete --commit-after'.

Signed-off-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com>
Reviewed-by: Qu Wenruo <quwenruo.btrfs@gmx.com>
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-filesystem.c
utils.c
utils.h