Commit cf5a2fd
btrfs: remove unnecessary inode key in btrfs_log_all_parents()
We are setting up an inode key to lookup parent directory inode but all we
need is the inode's objectid. The use of the key was necessary in the past
but since commit 0202e83 ("btrfs: simplify iget helpers") we only
need the objectid.
So remove the key variable in the stack and use instead a simple u64 for
the inode's objectid.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent 5012542 commit cf5a2fd
1 file changed
+4
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7201 | 7201 | | |
7202 | 7202 | | |
7203 | 7203 | | |
7204 | | - | |
| 7204 | + | |
7205 | 7205 | | |
7206 | 7206 | | |
7207 | | - | |
7208 | | - | |
7209 | | - | |
7210 | 7207 | | |
7211 | 7208 | | |
7212 | 7209 | | |
7213 | 7210 | | |
7214 | 7211 | | |
7215 | | - | |
7216 | | - | |
| 7212 | + | |
7217 | 7213 | | |
7218 | 7214 | | |
7219 | 7215 | | |
7220 | 7216 | | |
7221 | | - | |
| 7217 | + | |
7222 | 7218 | | |
7223 | 7219 | | |
7224 | 7220 | | |
7225 | | - | |
| 7221 | + | |
7226 | 7222 | | |
7227 | 7223 | | |
7228 | 7224 | | |
| |||
0 commit comments