btrfs-progs: check for fstat failure in cmd_defrag
authorEric Sandeen <sandeen@redhat.com>
Wed, 6 Nov 2013 23:15:53 +0000 (17:15 -0600)
committerChris Mason <chris.mason@fusionio.com>
Thu, 7 Nov 2013 21:10:41 +0000 (16:10 -0500)
commitb68477aee114470bde87d655ef647f8475b18003
treed760a39edf9415798b4a020abeb08e0253a127f4
parente11712a146c8a16c697a60ead980a9da68eaaddf
btrfs-progs: check for fstat failure in cmd_defrag

Resolves-Coverity-CID: 1125924
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
cmds-filesystem.c