Btrfs-progs: record errno for ioctl DEFRAG_RANGE
authorLiu Bo <bo.li.liu@oracle.com>
Tue, 16 Apr 2013 08:40:52 +0000 (16:40 +0800)
committerDavid Sterba <dsterba@suse.cz>
Tue, 23 Apr 2013 16:56:27 +0000 (18:56 +0200)
commit617769147f96bcd05aa9a5c8534b29d00fdd8b90
treee28a278b17bc12a1e15a8a3f71c66820ded696ec
parentf1637bd8ebb69c576d280eb250896cb328207716
Btrfs-progs: record errno for ioctl DEFRAG_RANGE

In order to sparse exact error message, we need to record errno here.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
cmds-filesystem.c