lkml.org 
[lkml]   [2016]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[RFC PATCH v1 04/30] f2fs: don't bother setting i_version
    Date
    It's not used in f2fs currently. Just remove the initialization.

    Signed-off-by: Jeff Layton <jlayton@redhat.com>
    ---
    fs/f2fs/super.c | 1 -
    1 file changed, 1 deletion(-)

    diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
    index 702638e21c76..78cceb0bed9e 100644
    --- a/fs/f2fs/super.c
    +++ b/fs/f2fs/super.c
    @@ -572,7 +572,6 @@ static struct inode *f2fs_alloc_inode(struct super_block *sb)
    init_once((void *) fi);

    /* Initialize f2fs-specific inode info */
    - fi->vfs_inode.i_version = 1;
    atomic_set(&fi->dirty_pages, 0);
    fi->i_current_depth = 1;
    fi->i_advise = 0;
    --
    2.7.4
    \
     
     \ /
      Last update: 2016-12-21 18:13    [W:3.346 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site