]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
Btrfs: kernel operation should come after user input has been verified
authorAnand Jain <anand.jain@oracle.com>
Fri, 14 Aug 2015 10:33:02 +0000 (18:33 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 1 Oct 2015 15:45:10 +0000 (17:45 +0200)
commit9e271ae27e4407388c5b25c747abc25c07838b0b
treec62df5b7fd8cc29c34781a8d207537fbf7c5992d
parent12b1c2637b6e0763121648d637ffe603b422e986
Btrfs: kernel operation should come after user input has been verified

By general rule of thumb there shouldn't be any way that user land
could trigger a kernel operation just by sending wrong arguments.

Here do commit cleanups after user input has been verified.

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