lkml.org 
[lkml]   [2020]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 4/7] proc: Use d_invalidate in proc_prune_siblings_dcache
    On Thu, Feb 20, 2020 at 12:51 PM Eric W. Biederman
    <ebiederm@xmission.com> wrote:
    >
    > To use d_invalidate replace d_prune_aliases with d_find_alias
    > followed by d_invalidate and dput. This is safe and complete
    > because no inode in proc has any hardlinks or aliases.

    Are you sure you can't create them some way? This makes em go "what
    if we had multiple dentries associated with that inode?" Then the code
    would just invalidate the first one.

    I guess we don't have export_operations or anything like that, but
    this makes me worry...

    Linus

    \
     
     \ /
      Last update: 2020-02-20 23:44    [W:4.053 / U:0.532 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site