commit | e9ab41b620e4b679ed069ab05cb85e67870b7c87 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Sep 27 15:44:19 2012 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Sep 28 13:42:41 2012 -0400 |
tree | 4b61840469aadfc05296e8b6859b6640e9d43193 | |
parent | 0e24d849c4ea777c59955b241fd3af14a1b84af5 [diff] |
NFSv4: Clean up the legacy idmapper upcall Replace the BUG_ON(idmap->idmap_key_cons != NULL) with a WARN_ON_ONCE(). Then get rid of the ACCESS_ONCE(idmap->idmap_key_cons). Then add helper functions for starting, finishing and aborting the legacy upcall. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: Bryan Schumaker <bjschuma@netapp.com>