commit | 50f1319cb5f7690e4d9de18d1a75ea89296d0e53 | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fusionio.com> | Mon Jul 22 12:50:37 2013 -0400 |
committer | Chris Mason <chris.mason@fusionio.com> | Sun Sep 01 08:04:23 2013 -0400 |
tree | 7159026e037c35707d7814d1a442b10dbe9c5dfc | |
parent | a1b83ac52d23c85581b87836c346fb5cb90f6bfd [diff] |
Btrfs: reset ret in record_one_backref I was getting warnings when running find ./ -type f -exec btrfs fi defrag -f {} \; from record_one_backref because ret was set. Turns out it was because it was set to 1 because the search slot didn't come out exact and we never reset it. So reset it to 0 right after the search so we don't leak this and get uneccessary warnings. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>