On 04/26/2016 12:23 AM, David Sterba wrote:
On Thu, Mar 24, 2016 at 06:48:13PM +0800, Anand Jain wrote:
Sysfs create context should come in the last, so that we
don't have to undo sysfs operation for the reason that any
other operation has failed.
Moving the sysfs call will make a visible
On Thu, Mar 24, 2016 at 06:48:13PM +0800, Anand Jain wrote:
> Sysfs create context should come in the last, so that we
> don't have to undo sysfs operation for the reason that any
> other operation has failed.
Moving the sysfs call will make a visible change: in the old code, the
sysfs node
Sysfs create context should come in the last, so that we
don't have to undo sysfs operation for the reason that any
other operation has failed.
Signed-off-by: Anand Jain
---
fs/btrfs/dev-replace.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git