Displaying 5 results from an estimated 5 matches for "export_operations".
2010 Jun 12
1
Problems building ocfs2-1.4.7 against Centos 5.3 and 2.6.30 kernel
...fs2-1.4.7/fs/ocfs2/export.c: In function ?ocfs2_get_parent?:
/root/src/ocfs2-1.4.7/fs/ocfs2/export.c:189: warning: assignment makes
pointer from integer without a cast
/root/src/ocfs2-1.4.7/fs/ocfs2/export.c: In function ?ocfs2_decode_fh?:
/root/src/ocfs2-1.4.7/fs/ocfs2/export.c:302: error: ?struct
export_operations? has no member named ?find_exported_dentry?
/root/src/ocfs2-1.4.7/fs/ocfs2/export.c: At top level:
/root/src/ocfs2-1.4.7/fs/ocfs2/export.c:311: error: unknown field
?decode_fh? specified in initializer
/root/src/ocfs2-1.4.7/fs/ocfs2/export.c:311: warning: initialization from
incompatible pointer ty...
2008 Aug 28
0
[PATCH] btrfs: cleanup d_obtain_alias useage
...M_KEY);
key.offset = 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
2010 Nov 17
0
[PATCH] Btrfs: handle NFS lookups properly
...me_len(leaf, iref);
+ }
+
+ 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
th...
2008 Jul 20
26
[PATCH] NFS support for btrfs - v2
...M_KEY);
+ key.offset = 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,...
2019 Jul 30
2
[PATCH v5 12/29] compat_ioctl: move drivers to compat_ptr_ioctl
...e, unsigned int cmd, unsigned long arg);
-static inline long
-ceph_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
-{
-#ifdef CONFIG_COMPAT
- return ceph_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
-#else
- return -ENOTTY;
-#endif
-}
/* export.c */
extern const struct export_operations ceph_export_ops;
diff --git a/fs/fat/file.c b/fs/fat/file.c
index 4614c0ba5f1c..bdc4503c00a3 100644
--- a/fs/fat/file.c
+++ b/fs/fat/file.c
@@ -172,15 +172,6 @@ long fat_generic_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
}
}
-#ifdef CONFIG_COMPAT
-static long fat_generic_com...