]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0a618085308aaf153ea3925e0ee7309a4a9970e2
treeefe8b6297b3ae27073c54aefdcf0c411a8f96b9f
parent35b3b8a8bb0dbf00db3fa8154217ea630b42dbc6
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