lkml.org 
[lkml]   [2017]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH V3 04/12] kernfs: don't set dentry->d_fsdata
    On Thu, Jun 15, 2017 at 11:17:12AM -0700, Shaohua Li wrote:
    > From: Shaohua Li <shli@fb.com>
    >
    > When working on adding exportfs operations in kernfs, I found it's hard
    > to initialize dentry->d_fsdata in the exportfs operations. Looks there
    > is no way to do it without race condition. Look at the kernfs code
    > closely, there is no point to set dentry->d_fsdata. inode->i_private
    > already points to kernfs_node, and we can get inode from a dentry. So
    > this patch just delete the d_fsdata usage.
    >
    > Signed-off-by: Shaohua Li <shli@fb.com>

    Acked-by: Tejun Heo <tj@kernel.org>

    Thanks.

    --
    tejun

    \
     
     \ /
      Last update: 2017-06-19 21:01    [W:4.946 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site