Following the reports of older compilers complaining about the rcu annotations in nfs-localio I reviewed the relevant code and found some races and opportunities for simplification. These patches address the various issues. They compile with old and new versions of gcc and don't introduce new sprase warnings. I haven't tested that localio, or even NFS, still work. NeilBrown [PATCH 1/6] nfs_localio: use cmpxchg() to install new [PATCH 2/6] nfs_localio: always hold nfsd net ref with nfsd_file ref [PATCH 3/6] nfs_localio: simplify interface to nfsd for getting [PATCH 4/6] nfs_localio: change nfsd_file_put_local() to take a [PATCH 5/6] nfs_localio: duplicate nfs_close_local_fh() [PATCH 6/6] nfs_localio: protect race between nfs_uuid_put() and