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)
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>

No differences found