Commit 4066986
btrfs: move folio initialization to one place in attach_eb_folio_to_filemap()
This is just a trivial change. The code looks a bit more readable this way, IMO.
Move initialization of existing_folio to the beginning of the retry loop
so it's set to NULL at one place.
Signed-off-by: Daniel Vacek <neelx@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent c779b79 commit 4066986
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3107 | 3107 | | |
3108 | 3108 | | |
3109 | 3109 | | |
3110 | | - | |
| 3110 | + | |
3111 | 3111 | | |
3112 | 3112 | | |
3113 | 3113 | | |
| |||
3116 | 3116 | | |
3117 | 3117 | | |
3118 | 3118 | | |
| 3119 | + | |
3119 | 3120 | | |
3120 | 3121 | | |
3121 | 3122 | | |
3122 | 3123 | | |
3123 | 3124 | | |
3124 | 3125 | | |
3125 | 3126 | | |
3126 | | - | |
3127 | | - | |
| 3127 | + | |
3128 | 3128 | | |
3129 | | - | |
3130 | 3129 | | |
3131 | 3130 | | |
3132 | 3131 | | |
| |||
0 commit comments