diff options
| author | Filipe Manana <[email protected]> | 2024-05-18 17:22:03 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2024-07-11 13:33:18 +0000 |
| commit | 56b7169f691cd4d015aca8436acd27f37a6b6a62 (patch) | |
| tree | e399bbed8a56b66fa976e356327576b50bffeb98 /fs/btrfs/dev-replace.c | |
| parent | btrfs: pass a btrfs_inode to btrfs_wait_ordered_range() (diff) | |
| download | kernel-56b7169f691cd4d015aca8436acd27f37a6b6a62.tar.gz kernel-56b7169f691cd4d015aca8436acd27f37a6b6a62.zip | |
btrfs: use a btrfs_inode local variable at btrfs_sync_file()
Instead of using a VFS inode local pointer and then doing many BTRFS_I()
calls inside btrfs_sync_file(), use a btrfs_inode pointer instead. This
makes everything a bit easier to read and less confusing, allowing to
make some statements shorter.
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
