commit | 355cced45286ed7e710058174066628ff9ad9fa4 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Mar 15 11:44:18 2016 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Tue Mar 15 11:44:18 2016 +1100 |
tree | d65ab254733c0930903649e73b41ca97a98a0036 | |
parent | cc07eed8336d6452214d13e0cba770a0f5296a7f [diff] |
xfs: always set rvalp in xfs_dir2_node_trim_free xfs_dir2_node_trim_free can return with setting the rvalp argument pointer. Initialize it to 0 at the beginning of the function and only update it to 1 if we succeeded trimming a freespace block. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>