Re: [PATCH 1/2] btrfs: label should not contain return char

2014-05-20 Thread Anand Jain
On 20/05/14 01:16, Eric Sandeen wrote: On 5/19/14, 12:04 PM, Anand Jain wrote: From: Anand Jain anand.j...@oracle.com generally if you use echo test /sys/fs/btrfs/fsid/label it would introduce return char at the end and it can not be part of the label. The correct command is echo -n

Re: [PATCH 1/2] btrfs: label should not contain return char

2014-05-20 Thread Anand Jain
On 20/05/14 01:19, Roman Mamedov wrote: On Tue, 20 May 2014 01:04:30 +0800 Anand Jain anand.j...@oracle.com wrote: From: Anand Jain anand.j...@oracle.com generally if you use echo test /sys/fs/btrfs/fsid/label it would introduce return char at the end and it can not be part of the

[PATCH 1/2] btrfs: label should not contain return char

2014-05-19 Thread Anand Jain
From: Anand Jain anand.j...@oracle.com generally if you use echo test /sys/fs/btrfs/fsid/label it would introduce return char at the end and it can not be part of the label. The correct command is echo -n test /sys/fs/btrfs/fsid/label This patch will check for this user error

Re: [PATCH 1/2] btrfs: label should not contain return char

2014-05-19 Thread Eric Sandeen
On 5/19/14, 12:04 PM, Anand Jain wrote: From: Anand Jain anand.j...@oracle.com generally if you use echo test /sys/fs/btrfs/fsid/label it would introduce return char at the end and it can not be part of the label. The correct command is echo -n test /sys/fs/btrfs/fsid/label This

Re: [PATCH 1/2] btrfs: label should not contain return char

2014-05-19 Thread Roman Mamedov
On Tue, 20 May 2014 01:04:30 +0800 Anand Jain anand.j...@oracle.com wrote: From: Anand Jain anand.j...@oracle.com generally if you use echo test /sys/fs/btrfs/fsid/label it would introduce return char at the end and it can not be part of the label. The correct command is echo -n test