File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ int __fscache_attr_changed(struct fscache_cookie *cookie)
198
198
{
199
199
struct fscache_operation * op ;
200
200
struct fscache_object * object ;
201
- bool wake_cookie ;
201
+ bool wake_cookie = false ;
202
202
203
203
_enter ("%p" , cookie );
204
204
@@ -228,15 +228,16 @@ int __fscache_attr_changed(struct fscache_cookie *cookie)
228
228
229
229
__fscache_use_cookie (cookie );
230
230
if (fscache_submit_exclusive_op (object , op ) < 0 )
231
- goto nobufs ;
231
+ goto nobufs_dec ;
232
232
spin_unlock (& cookie -> lock );
233
233
fscache_stat (& fscache_n_attr_changed_ok );
234
234
fscache_put_operation (op );
235
235
_leave (" = 0" );
236
236
return 0 ;
237
237
238
- nobufs :
238
+ nobufs_dec :
239
239
wake_cookie = __fscache_unuse_cookie (cookie );
240
+ nobufs :
240
241
spin_unlock (& cookie -> lock );
241
242
kfree (op );
242
243
if (wake_cookie )
You can’t perform that action at this time.
0 commit comments