lkml.org 
[lkml]   [2010]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 11/18] xstat: Make automounter filesystems return FS_AUTOMOUNT_FL [ver #6]
    Date
    Make automounter filesystems return FS_AUTOMOUNT_FL in st_inode_flags to
    xstat().

    Signed-off-by: David Howells <dhowells@redhat.com>
    ---

    fs/autofs/init.c | 1 +
    fs/autofs4/init.c | 1 +
    2 files changed, 2 insertions(+), 0 deletions(-)

    diff --git a/fs/autofs/init.c b/fs/autofs/init.c
    index cea5219..2c06d4b 100644
    --- a/fs/autofs/init.c
    +++ b/fs/autofs/init.c
    @@ -23,6 +23,7 @@ static int autofs_get_sb(struct file_system_type *fs_type,
    static struct file_system_type autofs_fs_type = {
    .owner = THIS_MODULE,
    .name = "autofs",
    + .inode_flags = FS_AUTOMOUNT_FL,
    .get_sb = autofs_get_sb,
    .kill_sb = autofs_kill_sb,
    };
    diff --git a/fs/autofs4/init.c b/fs/autofs4/init.c
    index 9722e4b..43df431 100644
    --- a/fs/autofs4/init.c
    +++ b/fs/autofs4/init.c
    @@ -23,6 +23,7 @@ static int autofs_get_sb(struct file_system_type *fs_type,
    static struct file_system_type autofs_fs_type = {
    .owner = THIS_MODULE,
    .name = "autofs",
    + .inode_flags = FS_AUTOMOUNT_FL,
    .get_sb = autofs_get_sb,
    .kill_sb = autofs4_kill_sb,
    };


    \
     
     \ /
      Last update: 2010-07-15 04:23    [W:4.271 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site