Skip to content

Commit

Permalink
fscache: add missing unlock
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
error27 authored and torvalds committed Mar 24, 2010
1 parent 34c1c46 commit 1147d0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/fscache/page.c
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,7 @@ int __fscache_write_page(struct fscache_cookie *cookie,
goto nobufs;

nobufs_unlock_obj:
spin_unlock(&cookie->stores_lock);
spin_unlock(&object->lock);
nobufs:
spin_unlock(&cookie->lock);
Expand Down

0 comments on commit 1147d0f

Please sign in to comment.