Re: [PATCH] replace hack with dget/mntget usage in fs/dcookies.c

2005-09-01 Thread Andrew Morton
Kirill Korotaev <[EMAIL PROTECTED]> wrote: > > This patch replaces manual incrementing of refcounters on dentry/mnt in > fs/dcookie.c with calls to dget()/mntget(). > > ... > > --- linux-2.6.8.1-t032/fs/dcookies.c.dget2004-08-14 14:54:46.0 > +0400 > +++ linux-2.6.8.1-t032/fs/dcooki

[PATCH] replace hack with dget/mntget usage in fs/dcookies.c

2005-09-01 Thread Kirill Korotaev
This patch replaces manual incrementing of refcounters on dentry/mnt in fs/dcookie.c with calls to dget()/mntget(). Noticed this when tried to change logic in dget() and it began to oops. Signed-Off-By: Alexey Kuznetsov <[EMAIL PROTECTED]> Signed-Off-By: Pavel Emelianov <[EMAIL PROTECTED]> Signe