lkml.org 
[lkml]   [2005]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] don't invalidate non-directory mountpoints
    On Fri, Oct 07, 2005 at 01:13:50PM +0200, Miklos Szeredi wrote:
    > d_invalidate allowed a non-directory mountpoint to be invalidated,
    > which is bad, since the mountpoint becomes unreachable.
    >
    > I know it's racy wrt attaching/detaching mount, but AFAICS so is
    > everything else that unhashes the dentry. This seems to be an
    > oversight when splitting out vfsmount_lock from dcache_lock. To be
    > fixed.

    NAK. That's a wrong way to deal with the problem and it's much older
    than vfsmount_lock or dcache_lock (and affects directories too).
    -
    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-10-07 16:32    [W:3.495 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site