Re: [PATCH v2] btrfs: rename btrfs_leaf_data to BTRFS_LEAF_DATA_OFFSET

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 29, 2017 at 09:43:43AM +0300, Nikolay Borisov wrote:
> Commit 5f39d397dfbe ("Btrfs: Create extent_buffer interface
> for large blocksizes") refactored btrfs_leaf_data function to take
> extent_buffer rather than struct btrfs_leaf. However, as it turns out the
> parameter being passed is never used. Furthermore this function no longer
> returns the leaf data but rather the offset to it. So rename the function
> to BTRFS_LEAF_DATA_OFFSET to make it consistent with other BTRFS_LEAF_*
> helpers and turn it into a macro
> 
> Signed-off-by: Nikolay Borisov <nborisov@xxxxxxxx>

Applied, with a minor change:

BTRFS_LEAF_DATA_OFFSET() -> BTRFS_LEAF_DATA_OFFSET

too trivial to bother your with another resend.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux