commit | 5685f0fa1c24b138d041ef129ed419c5effa40e1 | [log] [tgz] |
---|---|---|
author | Greg Banks <gnb@melbourne.sgi.com> | Mon Oct 02 02:17:56 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Oct 02 07:57:19 2006 -0700 |
tree | 068c413c32cc7735a590d4ec16efe55894e67b80 | |
parent | 1a68d952af5f43032012d26dd0d5164c9e9986bc [diff] |
[PATCH] knfsd: convert sk_reserved to atomic_t Convert the svc_sock->sk_reserved variable from an int protected by svc_serv->sv_lock, to an atomic. This reduces (by 1) the number of places we need to take the (effectively global) svc_serv->sv_lock. Signed-off-by: Greg Banks <gnb@melbourne.sgi.com> Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>