lkml.org 
[lkml]   [2002]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] iput() cleanup (was Re: [patch 12/16] fix race between writeback and unlink)

On 3 Jun 2002, Chris Mason wrote:
>
> I'm talking a very limited set of operations followed by calling the
> generic functions. I might not do it at all if I can't get them safe
> when called under the spin lock.

Ok, that should be reasonably "portable" (ie it won't break horribly and
silently in the future when something changes in inode-land). Just doing a
few ops (knowing you're under the inode lock) and then calling
"generic_drop_inode()" should be fine.

[ Except right now only the "generic_delete_inode()" thing is exported, so
you'd need to export the other generic stuff, but that was kind of my
plan anyway, I just don't wan tto do it until there is some real need. ]

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.885 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site