search for: btrfs_export_op

Displaying 4 results from an estimated 4 matches for "btrfs_export_op".

Did you mean: btrfs_export_ops
2008 Aug 28
0
[PATCH] btrfs: cleanup d_obtain_alias useage
...et = 0; - inode = btrfs_iget(root->fs_info->sb, &key, root, NULL); - - parent = d_obtain_alias(inode); - if (!parent) - parent = ERR_PTR(-ENOMEM); - - return parent; + return d_obtain_alias(btrfs_iget(root->fs_info->sb, &key, root, NULL)); } const struct export_operations btrfs_export_ops = { -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
2009 Sep 17
1
[PATCH 2/2] Btrfs: Fix setting umask when POSIX ACLs are not enabled
...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 <cjb@laptop.org> One Laptop Per Child -- To unsubscribe from th...
2010 Nov 17
0
[PATCH] Btrfs: handle NFS lookups properly
...; + } + + read_extent_buffer(leaf, name, name_ptr, name_len); + btrfs_free_path(path); + + /* + * have to add the null termination to make sure that reconnect_path + * gets the right len for strlen + */ + name[name_len] = ''\0''; + + return 0; +} + const struct export_operations btrfs_export_ops = { .encode_fh = btrfs_encode_fh, .fh_to_dentry = btrfs_fh_to_dentry, .fh_to_parent = btrfs_fh_to_parent, .get_parent = btrfs_get_parent, + .get_name = btrfs_get_name, }; -- 1.6.6.1 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a mess...
2008 Jul 20
26
[PATCH] NFS support for btrfs - v2
...et = 0; + + inode = btrfs_iget(root->fs_info->sb, &key, root, NULL); + + parent = d_alloc_anon(inode); + if (!parent) { + iput(inode); + parent = ERR_PTR(-ENOMEM); + } + + return parent; + +out: + btrfs_free_path(path); + return ERR_PTR(-EINVAL); + +} + +const struct export_operations btrfs_export_ops = { + .encode_fh = btrfs_encode_fh, + .fh_to_dentry = btrfs_fh_to_dentry, + .fh_to_parent = btrfs_fh_to_parent, + .get_parent = btrfs_get_parent, +}; diff -r 3f0eee804974 export.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/export.h Mon Jul 21 01:14:45 2008 +0530 @@ -0,0 +1,17 @@ +#ifndef B...