[PATCH 2/2] Btrfs: set the i_nlink to 2 for an initial dir inode

2011-11-27 Thread Jeff Liu
For an initial dir inode, stat(1) show it links as 1, IMHO it should be 2 by default. Signed-off-by: Jie Liu --- fs/btrfs/inode.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 116ab67..92b3cb9 100644 --- a/fs/btrfs/inode.c +++

[PATCH 1/2] Btrfs: adjust the variables indentation to TAB

2011-11-27 Thread Jeff Liu
Signed-off-by: Jie Liu --- fs/btrfs/ioctl.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 4a34c47..795c415 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -1689,9 +1689,9 @@ err: static noinline int btrfs_ioctl_tr

Re: wrong / too less space on raid

2011-11-27 Thread Phillip Susi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/27/2011 08:36 PM, Miao Xie wrote: > This number is just a appraised number, not rigorous. It tells us > how much space we can use to make up raid0 block groups which are > used to store the file data. More specifically, the available space that

Re: wrong / too less space on raid

2011-11-27 Thread Miao Xie
On sun, 27 Nov 2011 13:45:22 +0100, source wrote: > before sending this mail, i tried to track down previous messages from > the archive and found no similar entry. so either something went wrong > on my machine only or maybe there are too less testers around. > > about the real problem/bug : > >

wrong / too less space on raid

2011-11-27 Thread source
hello buglist, before sending this mail, i tried to track down previous messages from the archive and found no similar entry. so either something went wrong on my machine only or maybe there are too less testers around. about the real problem/bug : i tried to create several btrfs filesystems wit