]> 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)
commitc71bc7a2c29919504ea5a766f1bdc996e13cf20a
treec6aee26b6c54d52a8b60370674b9d2025f7f1229
parentd42145d9bb0a1015ec816af4dd5d6ad334505c0a
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