On Thu, 2010-08-12 at 15:19 -0700, Linus Torvalds wrote:
Sorry I'm just coming into this now that it is 'solved.' I just got
back to my hotel from Linuxcon and haven't been checking e-mail. I
guess noone (including me) is testing sound in linux-next :(. I
wonder what kind of tom foolery it must be doing with f_count (like I
am) to have hit problems.
I certainly agree the revert patch you sent should be applied if the
worst artifact for calling dentry_open() with an 'arbitrary dentry' is
that it fails.
An easier long term fix might be a 'dentry_open_as' which I can call in
the context of the original opening process but which will be done (for
security/accounting/fd table/etc purposes) as the process which will
ultimately consume the new struct file. I don't know which would be
better/easier for the VFS, Al?
-Eric
--