btrfs: rename btrfs_dio_private::logical_offset to file_offset
authorQu Wenruo <wqu@suse.com>
Fri, 8 Oct 2021 07:29:59 +0000 (15:29 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Oct 2021 17:08:06 +0000 (19:08 +0200)
commit47926ab535744d3a9156b8cf507edc77d210595f
treeefe8b6297b3ae27073c54aefdcf0c411a8f96b9f
parent3dcfbcce1b8749a6e62be11c41a797c98ecc4127
btrfs: rename btrfs_dio_private::logical_offset to file_offset

The naming of "logical_offset" can be confused with logical bytenr of
the dio range.

In fact it's file offset, and the naming "file_offset" is already widely
used in all other sites.

Just do the rename to avoid confusion.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/btrfs_inode.h
fs/btrfs/inode.c