]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit1775bc342c6eacd6304493cbb2e0cda1a0182246
treeb0a884a41f565a41957524146ff6ee51b2b7db7b
parenta1eaecbc4c8307e27772d6584ef85a2e93250661
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