]> git.karo-electronics.de Git - karo-tx-linux.git/commit
CIFS: Turn lock mutex into rw semaphore
authorPavel Shilovsky <pshilovsky@etersoft.ru>
Wed, 19 Sep 2012 13:22:44 +0000 (06:22 -0700)
committerJeff Layton <jlayton@redhat.com>
Wed, 19 Sep 2012 13:22:44 +0000 (06:22 -0700)
commitd5ad286a875ba3c8f75985197f5fe05c0d8d5309
treea16f9f4a56fa929c51b85fd3e7935f8dedde2f40
parent2107562880ffd11706f481f6f96ac3bbbca4f7e6
CIFS: Turn lock mutex into rw semaphore

and allow several processes to walk through the lock list and read
can_cache_brlcks value if they are not going to modify them.

Signed-off-by: Pavel Shilovsky <pshilovsky@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c
fs/cifs/cifsglob.h
fs/cifs/file.c
fs/cifs/smb2file.c