--- linux/fs/dnotify.c-save 2003-04-03 10:04:03.000000000 -0800 +++ linux/fs/dnotify.c 2003-08-28 11:41:23.000000000 -0700 @@ -94,7 +94,7 @@ prev = &odn->dn_next; } - error = f_setown(filp, current->pid, 1); + error = f_setown(filp, current->tgid, 1); if (error) goto out_free;