mirror of https://gitee.com/openkylin/linux.git
fscache: add missing unlock
Sparse complained about this missing spin_unlock() Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
34c1c460f8
commit
1147d0f915
|
@ -881,6 +881,7 @@ int __fscache_write_page(struct fscache_cookie *cookie,
|
||||||
goto nobufs;
|
goto nobufs;
|
||||||
|
|
||||||
nobufs_unlock_obj:
|
nobufs_unlock_obj:
|
||||||
|
spin_unlock(&cookie->stores_lock);
|
||||||
spin_unlock(&object->lock);
|
spin_unlock(&object->lock);
|
||||||
nobufs:
|
nobufs:
|
||||||
spin_unlock(&cookie->lock);
|
spin_unlock(&cookie->lock);
|
||||||
|
|
Loading…
Reference in New Issue