aboutsummaryrefslogtreecommitdiff
path: root/fs/inotify.c
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2005-08-16 11:29:57 -0700
committerTony Luck <tony.luck@intel.com>2005-08-16 11:29:57 -0700
commitf7001e8f1fa5369ee24f58255726a04a2019e4bd (patch)
tree1bbdd233ad0cf2e0adb4eb04f22b7bfa59a43494 /fs/inotify.c
parent85f265d887d2389376f1caa191e9682085feb76e (diff)
parentcf59001235c5a36f3e3701bd593a78cf955a4242 (diff)
Auto-update from upstream
Diffstat (limited to 'fs/inotify.c')
-rw-r--r--fs/inotify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/inotify.c b/fs/inotify.c
index 27ebcac5e07..868901b1e77 100644
--- a/fs/inotify.c
+++ b/fs/inotify.c
@@ -402,7 +402,7 @@ static struct inotify_watch *create_watch(struct inotify_device *dev,
return ERR_PTR(ret);
}
- dev->last_wd = ret;
+ dev->last_wd = watch->wd;
watch->mask = mask;
atomic_set(&watch->count, 0);
INIT_LIST_HEAD(&watch->d_list);