]> git.karo-electronics.de Git - linux-beck.git/commit
FS-Cache: Initialise stores_lock in netfs cookie
authorDavid Howells <dhowells@redhat.com>
Wed, 18 Jan 2017 14:29:17 +0000 (14:29 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 31 Jan 2017 18:23:09 +0000 (13:23 -0500)
commit62deb8187d116581c88c69a2dd9b5c16588545d4
tree94e2822599e451d780de44f7c9d8b667accf44a9
parent566cf877a1fcb6d6dc0126b076aad062054c2637
FS-Cache: Initialise stores_lock in netfs cookie

Initialise the stores_lock in fscache netfs cookies.  Technically, it
shouldn't be necessary, since the netfs cookie is an index and stores no
data, but initialising it anyway adds insignificant overhead.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Acked-by: Steve Dickson <steved@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fscache/netfs.c