File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1028,8 +1028,6 @@ static void delete_work_func(struct work_struct *work)
1028
1028
struct delayed_work * dwork = to_delayed_work (work );
1029
1029
struct gfs2_glock * gl = container_of (dwork , struct gfs2_glock , gl_delete );
1030
1030
struct gfs2_sbd * sdp = gl -> gl_name .ln_sbd ;
1031
- struct inode * inode ;
1032
- u64 no_addr = gl -> gl_name .ln_number ;
1033
1031
1034
1032
if (test_and_clear_bit (GLF_TRY_TO_EVICT , & gl -> gl_flags )) {
1035
1033
/*
@@ -1059,6 +1057,9 @@ static void delete_work_func(struct work_struct *work)
1059
1057
}
1060
1058
1061
1059
if (test_and_clear_bit (GLF_VERIFY_DELETE , & gl -> gl_flags )) {
1060
+ u64 no_addr = gl -> gl_name .ln_number ;
1061
+ struct inode * inode ;
1062
+
1062
1063
inode = gfs2_lookup_by_inum (sdp , no_addr , gl -> gl_no_formal_ino ,
1063
1064
GFS2_BLKST_UNLINKED );
1064
1065
if (IS_ERR (inode )) {
You can’t perform that action at this time.
0 commit comments