diff options
author | Nirbheek Chauhan <nirbheek.chauhan@collabora.co.uk> | 2013-01-20 16:04:07 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-01-21 18:28:00 +0100 |
commit | abdb0ced0123d423e9ad285a7e9e351fff4732fd (patch) | |
tree | d656aecc400b3f8751bc9fe942359115094fb986 /cmds-receive.c | |
parent | c88c2f52fed9554306036385c5c15c012ba49629 (diff) |
Btrfs-progs: fix resolving of loop devices
The LOOP_GET_STATUS ioctl truncates filenames to 64 characters. We should get
the backing file for a given loop device from /sys/. This is how losetup does it
as well.
Signed-off-by: Nirbheek Chauhan <nirbheek.chauhan@collabora.co.uk>
Signed-off-by: Gene Czarcinski <gene@czarc.net>
Tested-By: Hector Oron <hector.oron@collabora.co.uk>
Diffstat (limited to 'cmds-receive.c')
0 files changed, 0 insertions, 0 deletions