Commit f0c0ade
Andreas Gruenbacher
gfs2: Minor gfs2_try_evict cleanup
In gfs2_try_evict(), when an inode can't be evicted, we are grabbing a
temporary reference on the inode glock to poke that glock. That should
be safe, but it's easier to just grab an inode reference as we already
do earlier in this function.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>1 parent 88f4a9f commit f0c0ade
1 file changed
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
1026 | | - | |
1027 | | - | |
1028 | 1026 | | |
1029 | 1027 | | |
1030 | 1028 | | |
| |||
1034 | 1032 | | |
1035 | 1033 | | |
1036 | 1034 | | |
1037 | | - | |
1038 | | - | |
1039 | 1035 | | |
| 1036 | + | |
| 1037 | + | |
1040 | 1038 | | |
1041 | 1039 | | |
1042 | | - | |
1043 | | - | |
1044 | | - | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
1045 | 1043 | | |
1046 | 1044 | | |
1047 | 1045 | | |
| |||
0 commit comments