Commit 67a841f
xfs: clean up buffer allocation in xlog_do_recovery_pass
Merge the initial xlog_alloc_buffer calls, and pass the variable
designating the length that is initialized to 1 above instead of passing
the open coded 1 directly.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Reviewed-by: "Darrick J. Wong" <[email protected]>
Signed-off-by: Chandan Babu R <[email protected]>1 parent 45cf976 commit 67a841f
1 file changed
+6
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3010 | 3010 | | |
3011 | 3011 | | |
3012 | 3012 | | |
| 3013 | + | |
| 3014 | + | |
| 3015 | + | |
| 3016 | + | |
3013 | 3017 | | |
3014 | 3018 | | |
3015 | 3019 | | |
| |||
3020 | 3024 | | |
3021 | 3025 | | |
3022 | 3026 | | |
3023 | | - | |
3024 | | - | |
3025 | | - | |
3026 | | - | |
3027 | 3027 | | |
3028 | 3028 | | |
3029 | 3029 | | |
| |||
3067 | 3067 | | |
3068 | 3068 | | |
3069 | 3069 | | |
| 3070 | + | |
| 3071 | + | |
3070 | 3072 | | |
3071 | 3073 | | |
3072 | 3074 | | |
3073 | 3075 | | |
3074 | | - | |
3075 | 3076 | | |
3076 | 3077 | | |
3077 | 3078 | | |
3078 | | - | |
3079 | | - | |
3080 | 3079 | | |
3081 | 3080 | | |
3082 | 3081 | | |
| |||
0 commit comments