Re: [PATCH 1/2] Btrfs-progs: set string end sing '\0' for property

2014-04-25 Thread Liu Bo
On Fri, Apr 25, 2014 at 11:07:49AM +0100, Filipe David Manana wrote: > On Fri, Apr 25, 2014 at 7:29 AM, Liu Bo wrote: > > Set string "xattr_name" 's end with '\0' so that it won't be > > violated in memory. > > > > With this fix, xfstest/btrfs/048 can pass on my box. > > > > Signed-off-by: Liu Bo

Re: [PATCH 1/2] Btrfs-progs: set string end sing '\0' for property

2014-04-25 Thread Filipe David Manana
On Fri, Apr 25, 2014 at 7:29 AM, Liu Bo wrote: > Set string "xattr_name" 's end with '\0' so that it won't be > violated in memory. > > With this fix, xfstest/btrfs/048 can pass on my box. > > Signed-off-by: Liu Bo > --- > props.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/props.c

[PATCH 1/2] Btrfs-progs: set string end sing '\0' for property

2014-04-24 Thread Liu Bo
Set string "xattr_name" 's end with '\0' so that it won't be violated in memory. With this fix, xfstest/btrfs/048 can pass on my box. Signed-off-by: Liu Bo --- props.c | 1 + 1 file changed, 1 insertion(+) diff --git a/props.c b/props.c index 4d0aeea..53223a3 100644 --- a/props.c +++ b/props.c

[PATCH 1/2] Btrfs-progs: set string end sing '\0' for property

2014-04-24 Thread Liu Bo
Set string "xattr_name" 's end with '\0' so that it won't be violated in memory. With this fix, xfstest/btrfs/048 can pass on my box. Signed-off-by: Liu Bo --- props.c | 1 + 1 file changed, 1 insertion(+) diff --git a/props.c b/props.c index 4d0aeea..53223a3 100644 --- a/props.c +++ b/props.c

[PATCH 1/2] Btrfs-progs: set string end sing '\0' for property

2014-04-24 Thread Liu Bo
Set string "xattr_name" 's end with '\0' so that it won't be violated in memory. With this fix, xfstest/btrfs/048 can pass on my box. Signed-off-by: Liu Bo --- props.c | 1 + 1 file changed, 1 insertion(+) diff --git a/props.c b/props.c index 4d0aeea..53223a3 100644 --- a/props.c +++ b/props.c