lkml.org 
[lkml]   [1997]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subjectminor patch for net/socket.c
    Attached is a one-liner to set i_nlink to 0 for socket inodes.  This
    will allow the socket inode to be immediately reused on release.

    Regards,
    Bill--- net/socket.c.old Thu Jul 24 13:34:39 1997
    +++ net/socket.c Tue Aug 12 09:06:25 1997
    @@ -285,6 +285,7 @@

    inode->i_mode = S_IFSOCK;
    inode->i_sock = 1;
    + inode->i_nlink = 0;
    inode->i_uid = current->uid;
    inode->i_gid = current->gid;
    \
     
     \ /
      Last update: 2005-03-22 13:40    [W:0.051 / U:88.456 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site