[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m162fsbhv5.fsf@fess.ebiederm.org>
Date: Mon, 30 Jan 2012 20:45:02 -0800
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Lucian Adrian Grijincu <lucian.grijincu@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
netdev@...r.kernel.org,
Damien Millescamps <damien.millescamps@...nd.com>
Subject: Re: [PATCH 22/29] sysctl: Stop requiring explicit management of sysctl directories
Lucian Adrian Grijincu <lucian.grijincu@...il.com> writes:
>
> Why do you only check the given @set after creating the new dir. Why
> not the parent dir too?
That is a race and a minor bug. Somehow I had convinced myself that
either it didn't matter or that it would be hard to deal with, but
that doesn't hold up. Oops. Thankfully the final version using links
does not have this race/bug.
Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists