Btrfs-progs: Use /proc/mounts instead of /etc/mtab
authorStefan Behrens <sbehrens@giantdisaster.de>
Mon, 25 Mar 2013 14:21:42 +0000 (15:21 +0100)
committerDavid Sterba <dsterba@suse.cz>
Tue, 9 Apr 2013 16:43:32 +0000 (18:43 +0200)
commitf592cd1cc05868caa477689ca7caabaa202d08a4
tree6ba5f87c3eff414fd79c0234f20aff55ae6993e8
parent08fecd7658610d8572b04280d6708960a3265a88
Btrfs-progs: Use /proc/mounts instead of /etc/mtab

/etc/mtab is not working correctly in situations where multiple
mount namespaces are used. Use /proc/mounts instead like the
rest of the code is doing it.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
cmds-send.c