lkml.org 
[lkml]   [2010]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 2/6] vfs: make i_op->permission take a dentry instead of an inode
    Date
    On Fri, 03 Sep 2010 15:41:18 +0200, Miklos Szeredi <miklos@szeredi.hu> wrote:
    > From: Miklos Szeredi <mszeredi@suse.cz>
    >
    > Like most other inode operations ->permission() should take a dentry
    > instead of an inode. This is necessary for filesystems which operate
    > on names not on inodes.
    >

    This change will also help 9P patch series i am doing
    http://article.gmane.org/gmane.linux.kernel/1032788

    Currently ACL values are fetched from the server as a part of inode
    initialization. We can't do it in inode operations->permission because
    we need dentry to do 9P operations. Having inode operations->permission
    take a dentry instead of an inode help there.

    -aneesh



    \
     
     \ /
      Last update: 2010-09-17 15:17    [W:0.022 / U:0.248 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site