[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090824173524.14196.25992.stgit@paris.rdu.redhat.com>
Date: Mon, 24 Aug 2009 13:37:51 -0400
From: Eric Paris <eparis@...hat.com>
To: linux-kernel@...r.kernel.org, linux-fs-devel@...r.kernel.org
Cc: zdenek.kabelac@...il.com, torvalds@...ux-foundation.org,
christoph.thielecke@....de, akpm@...ux-foundation.org,
viro@...iv.linux.org.uk, grant.wilson@....co.uk,
mikko.cal@...il.com
Subject: [PATCH 0/3] Inotify cleanup and idr race
The following series cleans up the code around the addition of new watches and
the modification of old watches, thus making it easier to verify they are
correct. It should make machines less likely to panic if an object is found
in the inotify idr which should have been removed (it's a memory leak, not an
unrecoverable situation) and it should fix a race in idr removal which could
leak to a use after free situation.
If anyone is able to reproduce inotify or fsnotify problems with -rc7 + these
3 patches please please let me know!
---
Eric Paris (3):
inotify: fix locking around inotify watching in the idr
inotify: do not BUG on idr entries at inotify destruction
inotify: seperate new watch creation updating existing watches
fs/notify/inotify/inotify_fsnotify.c | 10 ++
fs/notify/inotify/inotify_user.c | 217 ++++++++++++++++++++++------------
2 files changed, 151 insertions(+), 76 deletions(-)
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists