From 9d332e0f157f86cdff7cab761951d14cf0d02218 Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Wed, 12 May 2010 15:34:07 -0700 Subject: [PATCH] --- yaml --- r: 190867 b: refs/heads/master c: b3b38d842fa367d862b83e7670af4e0fd6a80fc0 h: refs/heads/master i: 190865: e1677c8821339f2ab9114b0eb0a6a7abe8cec67d 190863: 206950935ca8e6419fca39f23a724923280c2e6d v: v3 --- [refs] | 2 +- trunk/fs/notify/inotify/inotify_fsnotify.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index fef7a0ec1c77..f2a729e95c0d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e08733446e72b983fed850fc5d8bd21b386feb29 +refs/heads/master: b3b38d842fa367d862b83e7670af4e0fd6a80fc0 diff --git a/trunk/fs/notify/inotify/inotify_fsnotify.c b/trunk/fs/notify/inotify/inotify_fsnotify.c index 1afb0a10229f..e27960cd76ab 100644 --- a/trunk/fs/notify/inotify/inotify_fsnotify.c +++ b/trunk/fs/notify/inotify/inotify_fsnotify.c @@ -28,6 +28,7 @@ #include /* struct path */ #include /* kmem_* */ #include +#include #include "inotify.h" @@ -146,6 +147,7 @@ static void inotify_free_group_priv(struct fsnotify_group *group) idr_for_each(&group->inotify_data.idr, idr_callback, group); idr_remove_all(&group->inotify_data.idr); idr_destroy(&group->inotify_data.idr); + free_uid(group->inotify_data.user); } void inotify_free_event_priv(struct fsnotify_event_private_data *fsn_event_priv)