I guess that means a wrapper function is in order. I'm not going to deal with this as part of this patch series, though. I'll just remove the superfluous notations. Patch below. Cheers, Dave.
These functions, xfs_bmap_count_leaves and xfs_bmap_disk_count_leaves, return always 0. Therefore it is not necessary to test the return value. Regards Attachment: xfs_bmap.patch Description: Text Da