lkml.org 
[lkml]   [2010]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCHv4 04/17] BTRFS: do not manipulate s_dirt directly
    Date
    From: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

    ... use new VFS helpers instead.

    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
    Cc: Chris Mason <chris.mason@oracle.com>
    ---
    fs/btrfs/inode.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
    index d601629..bb76735 100644
    --- a/fs/btrfs/inode.c
    +++ b/fs/btrfs/inode.c
    @@ -2577,7 +2577,7 @@ int btrfs_unlink_subvol(struct btrfs_trans_handle *trans,
    dir->i_mtime = dir->i_ctime = CURRENT_TIME;
    ret = btrfs_update_inode(trans, root, dir);
    BUG_ON(ret);
    - dir->i_sb->s_dirt = 1;
    + mark_sb_dirty(dir->i_sb);

    btrfs_free_path(path);
    return 0;
    --
    1.6.6.1


    \
     
     \ /
      Last update: 2010-05-25 15:53    [W:0.025 / U:59.812 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site