CIFS: Migrate to shared superblock model
authorPavel Shilovsky <piastry@etersoft.ru>
Thu, 26 May 2011 19:35:47 +0000 (23:35 +0400)
committerSteve French <sfrench@us.ibm.com>
Fri, 27 May 2011 03:53:23 +0000 (03:53 +0000)
commit25c7f41e9234f60af30e086278f1de7974f8816f
tree41cb4da532da30418da2d33e5376ddbf9f65958a
parentf87d39d951329cd8f462bf9007d334122c0599d0
CIFS: Migrate to shared superblock model

Add cifs_match_super to use in sget to share superblock between mounts
that have the same //server/sharename, credentials and mount options.
It helps us to improve performance on work with future SMB2.1 leases.

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c
fs/cifs/cifsglob.h
fs/cifs/connect.c