]> git.baikalelectronics.ru Git - kernel.git/commit
fasync: Fix placement of FASYNC flag comment
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:17:02 +0000 (18:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:17:02 +0000 (18:17 -0700)
commitb665546abc1638f44144c750eeae6863850c74fc
tree7e04667573f87a6970b6804940ef8fcb4bb6ca3b
parent5a3e6d8823085d5fb1b26cc02e26136d2bb1aad6
fasync: Fix placement of FASYNC flag comment

In commit c19083921c9c ("fasync: re-organize fasync entry insertion to
allow it under a spinlock") Arnd took an earlier patch of mine that had
the comment about the FASYNC flag above the wrong function.

When the fasync_add_entry() function was split to introduce the new
fasync_insert_entry() helper function, the code that actually cares
about the FASYNC bit moved to that new helper.

So just move the comment to the right point.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fcntl.c