Displaying 7 results from an estimated 7 matches for "btrfs_fill_super".
2008 Mar 15
1
btrfs-0.13 breaks boot on reiserfs-3.6
Hi,
I recompiled my kernel today, and when the btrfs-0.13 option is
enabled (CONFIG_BTR_FS=y) I cannot boot on my reiserfs-3.6 partition
any more. The kernel says that is cannot mount /dev/sdc6. I can boot
the kernel when I recompile it with the same options and
CONFIG_BTR_FS=n, and with the same boot options as well. Everything is
amd64 on my system (kernel + programs).
Here is a screenshot of
2007 Aug 23
2
give me some works
hello, Chris
In the next several months, I will have a lot of spare time. I will
be happy if you assign some work to me. I have learn linux kernel
for years but only fix a few small bugs in IP stack. In the past few
months, I read some EXT4/VFS codes. I began reading source of btrfs
ten days ago and have read it twice now.
Regards
YZ
2010 Jun 21
0
[PATCH V3 6/8] Cleancache: btrfs hooks for cleancache
...1:37.000000000 -0600
@@ -39,6 +39,7 @@
#include <linux/miscdevice.h>
#include <linux/magic.h>
#include <linux/slab.h>
+#include <linux/cleancache.h>
#include "compat.h"
#include "ctree.h"
#include "disk-io.h"
@@ -477,6 +478,7 @@ static int btrfs_fill_super(struct super
sb->s_root = root_dentry;
save_mount_options(sb, data);
+ sb->cleancache_poolid = cleancache_init_fs(PAGE_SIZE);
return 0;
fail_close:
--- linux-2.6.35-rc2/fs/btrfs/extent_io.c 2010-06-05 21:43:24.000000000 -0600
+++ linux-2.6.35-rc2-cleancache/fs/btrfs/extent_io.c 201...
2009 Sep 17
1
[PATCH 2/2] Btrfs: Fix setting umask when POSIX ACLs are not enabled
...p ignored.
Signed-off-by: Chris Ball <cjb@laptop.org>
---
fs/btrfs/super.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 6d6d06c..48ed1c0 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -344,7 +344,9 @@ static int btrfs_fill_super(struct super_block *sb,
sb->s_export_op = &btrfs_export_ops;
sb->s_xattr = btrfs_xattr_handlers;
sb->s_time_gran = 1;
+#ifdef CONFIG_BTRFS_POSIX_ACL
sb->s_flags |= MS_POSIXACL;
+#endif
tree_root = open_ctree(sb, fs_devices, (char *)data);
--
1.6.4
--
Chris Ball &...
2010 May 31
1
dkms build error
...ake.log for btrfs-git for kernel 2.6.34-git16 (x86_64)
Sun May 30 20:37:43 CEST 2010
make: Entering directory `/usr/src/linux-2.6.34-git16''
LD /var/lib/dkms/btrfs/git/build/built-in.o
CC [M] /var/lib/dkms/btrfs/git/build/super.o
/var/lib/dkms/btrfs/git/build/super.c: In function ‘btrfs_fill_super’:
/var/lib/dkms/btrfs/git/build/super.c:446: warning: assignment from incompatible pointer type
CC [M] /var/lib/dkms/btrfs/git/build/ctree.o
CC [M] /var/lib/dkms/btrfs/git/build/extent-tree.o
/var/lib/dkms/btrfs/git/build/extent-tree.c: In function ‘btrfs_issue_discard’:
/var/lib/dkms/btrfs/g...
2012 Apr 09
9
[PATCH] Btrfs: use i_version instead of our own sequence
...e_info = NULL;
ei->generation = 0;
- ei->sequence = 0;
ei->last_trans = 0;
ei->last_sub_trans = 0;
ei->logged_trans = 0;
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 54e7ee9..ee1bb31 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -770,7 +770,7 @@ static int btrfs_fill_super(struct super_block *sb,
#ifdef CONFIG_BTRFS_FS_POSIX_ACL
sb->s_flags |= MS_POSIXACL;
#endif
-
+ sb->s_flags |= MS_I_VERSION;
err = open_ctree(sb, fs_devices, (char *)data);
if (err) {
printk("btrfs: open_ctree failed\n");
--
1.7.5.2
--
To unsubscribe from this list: sen...
2008 Jun 24
1
[RFC][PATCH] btrfs orphan code
...fs_info->tree_root,
name, namelen, dir->i_ino, &key,
- BTRFS_FT_DIR);
+ BTRFS_FT_DIR, 0);
if (ret)
goto fail;
diff -r 99b12e2db0f8 super.c
--- a/super.c Wed Jun 18 20:50:41 2008 -0400
+++ b/super.c Tue Jun 24 21:04:39 2008 -0400
@@ -339,6 +339,7 @@ static int btrfs_fill_super(struct super
goto fail_close;
}
+
/* this does the super kobj at the same time */
err = btrfs_sysfs_add_super(tree_root->fs_info);
if (err)
@@ -467,6 +468,22 @@ static int btrfs_get_sb(struct file_syst
deactivate_super(s);
error = -ENXIO;
goto error;
+ }
+
+ /* we don'&...