]> asedeno.scripts.mit.edu Git - linux.git/commit
btrfs: refactor btrfs_dev_replace_start for reuse
authorAnand Jain <anand.jain@oracle.com>
Thu, 24 Mar 2016 10:48:14 +0000 (18:48 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 28 Apr 2016 08:59:13 +0000 (10:59 +0200)
commitb5255456c529155730c837f8cfcea47e8feb85ca
tree5ef5e4e0dd7a914dd85337965a51b05270563bf1
parentfc23c246d72d21385be115305d1cb85fcc34acad
btrfs: refactor btrfs_dev_replace_start for reuse

A refactor patch, and avoids user input verification in the
btrfs_dev_replace_start(), and so this function can be reused.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/dev-replace.c
fs/btrfs/dev-replace.h
fs/btrfs/ioctl.c