]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: purge deviceid cache on nfs_free_client
authorBenny Halevy <bhalevy@panasas.com>
Fri, 20 May 2011 11:47:33 +0000 (13:47 +0200)
committerBoaz Harrosh <bharrosh@panasas.com>
Sun, 29 May 2011 17:50:42 +0000 (20:50 +0300)
commit2a69195f46efa019fe4d01f0f0b8ebb29b341a33
treeb0a884a41f565a41957524146ff6ee51b2b7db7b
parent24058a90b48bcd6ecc48470271061b3eca73a0a0
NFSv4.1: purge deviceid cache on nfs_free_client

Use the pnfs_layoutdriver_type both as a qualifier for the deviceid,
distinguishing deviceid from different layout types on the server,
and for freeing the layout-driver allocated structure containing the
nfs4_deviceid_node.

[BUG in _deviceid_purge_client]
[layout_driver MUST set free_deviceid_node if using dev-cache]
[let ver < 4.1 compile]
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
[removed EXPORT_SYMBOL_GPL(nfs4_deviceid_purge_client)]
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
fs/nfs/client.c
fs/nfs/nfs4filelayout.c
fs/nfs/nfs4filelayout.h
fs/nfs/nfs4filelayoutdev.c
fs/nfs/pnfs.h
fs/nfs/pnfs_dev.c