]> err.no Git - linux-2.6/commit
[PATCH] inotify: fix idr_get_new_above usage
authorRobert Love <rml@novell.com>
Mon, 15 Aug 2005 16:27:54 +0000 (12:27 -0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 15 Aug 2005 16:48:31 +0000 (09:48 -0700)
commit0bf955ce98cb3cf40e20d0cc435299eb76e8819e
treec1fd8207f7d7b3e1db7d0f28ffae88f0dc205083
parent2ba84684e8cf6f980e4e95a2300f53a505eb794e
[PATCH] inotify: fix idr_get_new_above usage

We are saving the wrong thing in ->last_wd.  We want the wd, not the
return value.

Signed-off-by: Robert Love <rml@novell.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/inotify.c