cifs: define superblock-level cache index objects and register them
authorSuresh Jayaraman <sjayaraman@suse.de>
Mon, 5 Jul 2010 12:42:27 +0000 (18:12 +0530)
committerSteve French <sfrench@us.ibm.com>
Mon, 2 Aug 2010 12:40:36 +0000 (12:40 +0000)
commitd03382ce9a89dbe27cba25130f0b90c0d631d5c5
treef2561981a606a788259ad10f0ec57f9486f85da4
parent8913007e67106597fed4b9dd3787e8dca6915a83
cifs: define superblock-level cache index objects and register them

Define superblock-level cache index objects (managed by cifsTconInfo structs).
Each superblock object is created in a server-level index object and in itself
an index into which inode-level objects are inserted.

The superblock object is keyed by sharename. The UniqueId/IndexNumber is used to
validate that the exported share is the same since we accessed it last time.

Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cache.c
fs/cifs/cifsglob.h
fs/cifs/connect.c
fs/cifs/fscache.c
fs/cifs/fscache.h
fs/cifs/inode.c