summaryrefslogtreecommitdiff
path: root/ctree.c
diff options
context:
space:
mode:
authorZach Brown <zab@redhat.com>2013-01-22 13:48:04 -0800
committerZach Brown <zab@redhat.com>2013-02-05 16:09:39 -0800
commit7c9f323a7c9c7a0d7b516ed9974308bde4017ae2 (patch)
tree359efd9416e508df5b5baeb8798c43099def9334 /ctree.c
parent201238df269cfa8fa002b3be0ad327b48228e45c (diff)
btrfs-progs: check for open failure, don't close
Check for failure by testing for a negative file descriptor, not a descriptor of 0. And if it failed we have nothing to close(). Signed-off-by: Zach Brown <zab@redhat.com>
Diffstat (limited to 'ctree.c')
0 files changed, 0 insertions, 0 deletions