Repository navigation
Commit 45dcfc2
fs/buffer.c: use attach/detach_page_private
Since the new pair function is introduced, we can call them to clean the
code in buffer.c.
Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Link: http://lkml.kernel.org/r/20200517214718.468-5-guoqing.jiang@cloud.ionos.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent d1b89bc commit 45dcfc2
1 file changed
Lines changed: 4 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | 126 | | |
135 | 127 | | |
136 | 128 | | |
| |||
906 | 898 | | |
907 | 899 | | |
908 | 900 | | |
909 | | - | |
| 901 | + | |
910 | 902 | | |
911 | 903 | | |
912 | 904 | | |
| |||
1587 | 1579 | | |
1588 | 1580 | | |
1589 | 1581 | | |
1590 | | - | |
| 1582 | + | |
1591 | 1583 | | |
1592 | 1584 | | |
1593 | 1585 | | |
| |||
2574 | 2566 | | |
2575 | 2567 | | |
2576 | 2568 | | |
2577 | | - | |
| 2569 | + | |
2578 | 2570 | | |
2579 | 2571 | | |
2580 | 2572 | | |
| |||
3234 | 3226 | | |
3235 | 3227 | | |
3236 | 3228 | | |
3237 | | - | |
| 3229 | + | |
3238 | 3230 | | |
3239 | 3231 | | |
3240 | 3232 | | |
| |||
0 commit comments