Displaying 6 results from an estimated 6 matches for "ms_posixacl".
2009 Sep 17
1
[PATCH 2/2] Btrfs: Fix setting umask when POSIX ACLs are not enabled
We currently set sb->s_flags |= MS_POSIXACL unconditionally, which is
incorrect -- it tells the VFS that it shouldn''t set umask because we
will, yet we don''t set it ourselves if we aren''t using POSIX ACLs, so
the umask ends up ignored.
Signed-off-by: Chris Ball <cjb@laptop.org>
---
fs/btrfs/super.c | 2 +...
2006 Oct 26
8
Problem mounting with credentials file
I am running Gentoo. I am trying to get my /etc/fstab to automatically
mount a remote Samba share at boot time. I have the following in my
/etc/fstab file:
//192.168.0.2/share /mnt/share cifs
auto,credentials=/home/user/.smbpasswd,uid=1000,umask=002,user 0 0
This works fine if I specify the username and password in the /etc/fstab
file. However, if I try to use the credentials file
2006 Mar 17
0
Mount fails with EBUSY if running xen0 kernel
...ll as 2.6.16-xen0). Booting the normal Dapper
kernel (2.6.15 no xen support) the disk mounts fine.
strace mount /dev/sdb1 /images
Shows:
stat64("/sbin/mount.ext3", 0xbf8087bc) = -1 ENOENT (No such file or
directory)
mount("/dev/sdb1", "/images/", "ext3",
MS_POSIXACL|MS_ACTIVE|MS_NOUSER|0xec0000, 0) = -1 EBUSY (Device or resource
busy)
Any idea?
Best Regards
Bernhard
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2010 Jan 14
0
[PATCH] Include subvolume= and metadata_ratio= in /cat/proc
...a/fs/btrfs/super.c b/fs/btrfs/super.c
index 3f9b457..faeaa7f 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -461,6 +461,16 @@ static int btrfs_show_options(struct seq_file *seq,
struct vfsmount *vfs)
seq_puts(seq, ",discard");
if (!(root->fs_info->sb->s_flags & MS_POSIXACL))
seq_puts(seq, ",noacl");
+ if( root->fs_info->metadata_ratio )
+ seq_printf(seq, ",metadata_ratio=%d",
+ root->fs_info->metadata_ratio);
+ spin_lock(&vfs->mnt_root->d_lock);
+ if (vfs->mnt_root->d_name.len != 1 ||
+ vfs->mnt_root->d...
2012 Apr 09
9
[PATCH] Btrfs: use i_version instead of our own sequence
...t;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: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger....
2008 Oct 17
3
[PATCH 0/3] ocfs2: add security EA and ACL support v3
Hi,
These three patches fix the problems in the version two.
And them base on the Tao's patches:
ocfs2/xattr: xattr improvement
The first patch fix some problem in xattr code.
The second patch add security EA support.
The third patch add ACL support.
Best regards,
tiger