[lkml]   [2007]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] NFS: Stop sillyname renames and unmounts from racing
    On Mon, Nov 05, 2007 at 09:06:36PM -0800, Andrew Morton wrote:
    > > Any objections to exporting the inode_lock spin lock?
    > > If so, how should modules _safely_ access the s_inode list?

    > That's going to make hch unhappy.

    That's going to make me just as unhappy, especially since it's pointless;
    instead of the entire sorry mess we should just bump sb->s_active to pin
    the superblock down (we know that it's active at that point, so it's just
    an atomic_inc(); no games with locking, etc., are needed) and call
    deactivate_super() on the way out. And deactivate_super() is exported
    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: 2007-11-06 06:19    [W:0.021 / U:32.204 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site