linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] Fanotify cleanups
@ 2014-01-30 14:41 Jan Kara
  2014-01-30 14:41 ` [PATCH 1/6] fanotify: Remove useless bypass_perm check Jan Kara
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Jan Kara @ 2014-01-30 14:41 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-fsdevel, Eric Paris, Jan Kara

  Hello,

  when fixing use-after-free bug with fanotify introduced by my previous
cleanup patches (the fix is already merged by Linus), I have better understood
handling of permission events and found a couple of things that can be further
cleaned up.  This patch series removes some dead code (patches 1/6 and 3/6),
uses the notify structure itself for processing response to permission event
(patch 2/6) thus saving some space and allocation, converts access_mutex to
spinlock (patch 4/6) which should be faster, and moves code around
copy_event_to_user() to make code more readable (patch 5/6, 6/6).

The patches pass LTP fanotify tests. Andrew, can you please take the patches
for the next merge window?

								Honza

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-01-30 14:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-30 14:41 [PATCH 0/6] Fanotify cleanups Jan Kara
2014-01-30 14:41 ` [PATCH 1/6] fanotify: Remove useless bypass_perm check Jan Kara
2014-01-30 14:41 ` [PATCH 2/6] fanotify: Use fanotify event structure for permission response processing Jan Kara
2014-01-30 14:41 ` [PATCH 3/6] fanotify: Remove useless test from event initialization Jan Kara
2014-01-30 14:41 ` [PATCH 4/6] fanotify: Convert access_mutex to spinlock Jan Kara
2014-01-30 14:41 ` [PATCH 5/6] fanotify: Reorganize loop in fanotify_read() Jan Kara
2014-01-30 14:41 ` [PATCH 6/6] fanotify: Move unrelated handling from copy_event_to_user() Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).