]> git.baikalelectronics.ru Git - kernel.git/commit
fs/9p: use fscache mutex rather than spinlock
authorSasha Levin <sasha.levin@oracle.com>
Thu, 7 Jan 2016 22:49:51 +0000 (17:49 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 9 Jan 2016 07:57:21 +0000 (02:57 -0500)
commitfa35d677bbb04e8e4940ff9d12a3ddc41b6d80cf
tree8b13a8cb4d56e4442e1cb4cfe838e95dbce806f0
parent22b8fdeedf8bc222aab55b53e00a9d8521a9b044
fs/9p: use fscache mutex rather than spinlock

We may sleep inside a the lock, so use a mutex rather than spinlock.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/9p/cache.c
fs/9p/v9fs.h
fs/9p/vfs_inode.c