]> git.baikalelectronics.ru Git - kernel.git/commit
epoll: cleanup: use RCU_INIT_POINTER when nulling
authorEric Wong <normalperson@yhbt.net>
Tue, 30 Apr 2013 22:27:43 +0000 (15:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 May 2013 00:04:04 +0000 (17:04 -0700)
commitc266e535d35bc319497e600a9e2c340c1270298a
treec6aee26b6c54d52a8b60370674b9d2025f7f1229
parent886bb430bb0bb3ab62d8918fe805ff1106d6bcc1
epoll: cleanup: use RCU_INIT_POINTER when nulling

It is always safe to use RCU_INIT_POINTER to NULL a pointer.  This results
in slightly smaller/faster code.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/eventpoll.c