[lkml]   [2002]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC] iput() cleanup (was Re: [patch 12/16] fix race between writeback and unlink)
    On Jun 02, 2002  21:27 -0700, Linus Torvalds wrote:
    > This is a first cut at cleaning up "iput()" and getting rid of some of the
    > magic VFS-level behaviour of the i_nlink field which many filesystems do
    > not actually want - as shown by the number of "force_delete" users out
    > there.
    > It does not change any real behaviour, but it splits up the "iput()"
    > behaviour into several functions ("common_delete_inode()",
    > "common_forget_inode()" and "common_drop_inode()"), and adds a place for a
    > low-level filesystem to hook into the behaviour at inode drop time,
    > through the "drop_inode" superblock operation.

    If I had one minor note it would be to rename "common_*()" to "generic_*()"
    to match the other VFS helper routines.

    Cheers, Andreas
    Andreas Dilger

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:26    [W:0.022 / U:1.528 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site