kNFSd - 2 of 8 - Always flush rpc caches after an update
Subsystems (3)
PATCH 1/1 kNFSd - 2 of 8 - Always flush rpc caches after an update
### Comments for ChangeSet
..as the update might have set an expiry date in the past and we want it to be removed instantly.
----------- Diffstat output ------------
./fs/nfsd/export.c | 4 ++-- ./net/sunrpc/svcauth_unix.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
fs/nfsd/export.c renamed from fs/nfsd/export.c~current~ +2 -2
@@ -184,7 +184,7 @@ int expkey_parse(struct cache_detail *cd out_nd:path_release (&nd); } - +cache_flush (); out:if (dom)auth_domain_put (dom);
@@ -396,7 +396,7 @@ int svc_export_parse(struct cache_detailif (expp)exp_put (expp); err =0 ; - +cache_flush (); out:if (nd.dentry)path_release (&nd);
net/sunrpc/svcauth_unix.c renamed from net/sunrpc/svcauth_unix.c~current~ +1 -1
@@ -209,7 +209,7 @@ static int ip_map_parse(struct cache_detauth_domain_put (dom);if (!ipmp)return -ENOMEM ; - +cache_flush ();return 0 ; }
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs