Commit 6a9e1d1
btrfs: store and use node size in local variable in check_eb_alignment()
Instead of dereferencing fs_info every time we need to access the node
size, store in a local variable to make the code less verbose and avoid
a line split too.
Reviewed-by: Qu Wenruo <wqu@suse.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 26baec6 commit 6a9e1d1
1 file changed
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3226 | 3226 | | |
3227 | 3227 | | |
3228 | 3228 | | |
| 3229 | + | |
| 3230 | + | |
3229 | 3231 | | |
3230 | 3232 | | |
3231 | 3233 | | |
3232 | 3234 | | |
3233 | 3235 | | |
3234 | | - | |
| 3236 | + | |
3235 | 3237 | | |
3236 | 3238 | | |
3237 | | - | |
| 3239 | + | |
3238 | 3240 | | |
3239 | 3241 | | |
3240 | | - | |
3241 | | - | |
| 3242 | + | |
3242 | 3243 | | |
3243 | 3244 | | |
3244 | | - | |
| 3245 | + | |
3245 | 3246 | | |
3246 | 3247 | | |
3247 | | - | |
| 3248 | + | |
3248 | 3249 | | |
3249 | 3250 | | |
3250 | 3251 | | |
3251 | | - | |
| 3252 | + | |
3252 | 3253 | | |
3253 | 3254 | | |
3254 | 3255 | | |
| |||
0 commit comments