android_kernel_oneplus_msm8998/fs/fscache
David Howells 95a4659ee8 FS-Cache: Initialise stores_lock in netfs cookie
[ Upstream commit 62deb8187d116581c88c69a2dd9b5c16588545d4 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-17 06:39:37 +02:00
..
cache.c
cookie.c fscache: Clear outstanding writes when disabling a cookie 2017-06-17 06:39:37 +02:00
fsdef.c
histogram.c
internal.h
Kconfig
main.c
Makefile
netfs.c FS-Cache: Initialise stores_lock in netfs cookie 2017-06-17 06:39:37 +02:00
object-list.c
object.c fscache: Clear outstanding writes when disabling a cookie 2017-06-17 06:39:37 +02:00
operation.c
page.c
proc.c
stats.c