]> git.baikalelectronics.ru Git - kernel.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)
commitb5ffeeab313cbd8470acda6c3ba0dc19551b8365
tree94e2822599e451d780de44f7c9d8b667accf44a9
parentaf3594dc652d27a1be9786fb22f7c0db391f6673
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