ChangeSet 1.2071, 2005/03/12 09:13:28-08:00, [EMAIL PROTECTED]
[PATCH] RPC: remove bogus atomic_dec in auth_null
The atomic_dec in nul_destroy() is harmless, but can trigger an
underflow
error if the atomic_dec_and_test() debugging is turned on.
Problem diagnosed by: OGAWA Hirofumi <[EMAIL PROTECTED]>
Signed-off-by: Trond Myklebust <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
auth_null.c | 1 -
1 files changed, 1 deletion(-)
diff -Nru a/net/sunrpc/auth_null.c b/net/sunrpc/auth_null.c
--- a/net/sunrpc/auth_null.c 2005-03-12 21:41:40 -08:00
+++ b/net/sunrpc/auth_null.c 2005-03-12 21:41:40 -08:00
@@ -31,7 +31,6 @@
static void
nul_destroy(struct rpc_auth *auth)
{
- atomic_dec(&null_auth.au_count);
}
/*
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html