btrfs: remove redundant error check
authorByongho Lee <bhlee.kernel@gmail.com>
Wed, 27 Jan 2016 10:11:53 +0000 (19:11 +0900)
committerDavid Sterba <dsterba@suse.com>
Thu, 18 Feb 2016 10:35:27 +0000 (11:35 +0100)
commitac1407ba24d69015f88da18bfac978c493380b81
tree45efe673f25a69d6dc85858e7fd9ac08920e97bc
parent0138b6fe8f7ea6aa83ed7ccfcabc89b490528ce8
btrfs: remove redundant error check

While running btrfs_mksubvol(), d_really_is_positive() is called twice.
First in btrfs_mksubvol() and second inside btrfs_may_create().  So I
remove the first one.

Signed-off-by: Byongho Lee <bhlee.kernel@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c
This page took 0.024654 seconds and 5 git commands to generate.