search for: ms_activ

Displaying 6 results from an estimated 6 matches for "ms_activ".

Did you mean: ms_active
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
2011 Apr 06
3
[PATCH V2] Btrfs: fix subvolume mount by name problem when default mount subvolume is set
...e_early_options(data, mode, fs_type, &subvol_name, &subvol_objectid, - &fs_devices); + &subvol_rootid, &fs_devices); if (error) return error; @@ -786,15 +801,17 @@ static int btrfs_get_sb(struct file_system_type *fs_type, int flags, s->s_flags |= MS_ACTIVE; } - root = get_default_root(s, subvol_objectid); - if (IS_ERR(root)) { - error = PTR_ERR(root); - deactivate_locked_super(s); - goto error_free_subvol_name; - } /* if they gave us a subvolume name bind mount into that */ if (strcmp(subvol_name, ".")) { struct dentry *new_r...
2006 Mar 17
0
Mount fails with EBUSY if running xen0 kernel
...-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
2008 Aug 19
0
[PATCH] Reinstate '-osubvol=.' option to mount entire tree
...er.c | 34 +++++++++++++++++++--------------- 1 files changed, 19 insertions(+), 15 deletions(-) diff --git a/super.c b/super.c index 55f4d00..f7b3eac 100644 --- a/super.c +++ b/super.c @@ -451,21 +451,25 @@ static int btrfs_get_sb(struct file_system_type *fs_type, int flags, s->s_flags |= MS_ACTIVE; } - mutex_lock(&s->s_root->d_inode->i_mutex); - root = lookup_one_len(subvol_name, s->s_root, strlen(subvol_name)); - mutex_unlock(&s->s_root->d_inode->i_mutex); - if (IS_ERR(root)) { - up_write(&s->s_umount); - deactivate_super(s); - error = PTR_ERR(roo...
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
2005 Jan 04
0
[PATCH] BUG on error handlings in Ext3 under I/O failure condition
...f -Nru linux-2.6.10-bk6/fs/inode.c linux-2.6.10-bk6_fix/fs/inode.c --- linux-2.6.10-bk6/fs/inode.c 2004-12-25 06:35:40.000000000 +0900 +++ linux-2.6.10-bk6_fix/fs/inode.c 2005-01-04 19:58:48.000000000 +0900 @@ -1035,7 +1035,7 @@ spin_unlock(&inode_lock); if (!sb || (sb->s_flags & MS_ACTIVE)) return; - write_inode_now(inode, 1); + (void) write_inode_now(inode, 1); spin_lock(&inode_lock); inodes_stat.nr_unused--; hlist_del_init(&inode->i_hash); diff -Nru linux-2.6.10-bk6/fs/jbd/commit.c linux-2.6.10-bk6_fix/fs/jbd/commit.c --- linux-2.6.10-bk6/fs/jbd/comm...