Commit d727239
ceph: hold i_ceph_lock when removing caps for freeing inode
commit d6e4781 upstream.
ceph_d_revalidate(, LOOKUP_RCU) may call __ceph_caps_issued_mask()
on a freeing inode.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Change-Id: Ic69bce882e1ebd8b33fa9c1774ada4c72846327a1 parent 5d9c3b7 commit d727239
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1070 | 1070 | | |
1071 | 1071 | | |
1072 | 1072 | | |
1073 | | - | |
1074 | | - | |
| 1073 | + | |
1075 | 1074 | | |
1076 | 1075 | | |
1077 | 1076 | | |
1078 | 1077 | | |
1079 | 1078 | | |
1080 | 1079 | | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
1081 | 1083 | | |
1082 | 1084 | | |
1083 | 1085 | | |
1084 | 1086 | | |
1085 | 1087 | | |
1086 | 1088 | | |
| 1089 | + | |
1087 | 1090 | | |
1088 | 1091 | | |
1089 | 1092 | | |
| |||
0 commit comments