diff options
author | David Sterba <dsterba@suse.com> | 2018-08-24 18:41:17 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-10-15 18:23:37 +0300 |
commit | 9f6cbcbb09d0f2a73ccb9998f6ac34606da9c938 (patch) | |
tree | 60e3fb989355e447dafe90ae4d784b9ca55a4f8c /fs/btrfs/dev-replace.c | |
parent | e37abe9725bf45b292d5653cc02bbd791773c205 (diff) | |
download | linux-9f6cbcbb09d0f2a73ccb9998f6ac34606da9c938.tar.xz |
btrfs: open code btrfs_after_dev_replace_commit
Too trivial, the purpose can be simply documented in a comment.
Reviewed-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
-rw-r--r-- | fs/btrfs/dev-replace.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/btrfs/dev-replace.c b/fs/btrfs/dev-replace.c index a79e8d67f768..264105a26e7e 100644 --- a/fs/btrfs/dev-replace.c +++ b/fs/btrfs/dev-replace.c @@ -382,14 +382,6 @@ out: return ret; } -void btrfs_after_dev_replace_commit(struct btrfs_fs_info *fs_info) -{ - struct btrfs_dev_replace *dev_replace = &fs_info->dev_replace; - - dev_replace->committed_cursor_left = - dev_replace->cursor_left_last_write_of_item; -} - static char* btrfs_dev_name(struct btrfs_device *device) { if (!device || test_bit(BTRFS_DEV_STATE_MISSING, &device->dev_state)) |