* [patch 3/4] reiser4: create and lookup do not take nameidata
@ 2012-10-21 17:59 Edward Shishkin
0 siblings, 0 replies; only message in thread
From: Edward Shishkin @ 2012-10-21 17:59 UTC (permalink / raw)
To: reiserfs-devel
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: reiser4-adjust-create-and-lookup.patch --]
[-- Type: text/x-patch, Size: 2470 bytes --]
From 33fca1ec4438abc5540185ade3599661048d3c91 Mon Sep 17 00:00:00 2001
From: Ivan Shapovalov <intelfx100@gmail.com>
Date: Thu, 4 Oct 2012 13:49:06 +0400
Subject: [PATCH] Adjust reiser4 for 3.6: ->create() and ->lookup() do not
take nameidata.
---
fs/reiser4/plugin/inode_ops.c | 8 ++++----
fs/reiser4/plugin/object.h | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/fs/reiser4/plugin/inode_ops.c b/fs/reiser4/plugin/inode_ops.c
index 1f4be3d..b784dc5 100644
--- a/fs/reiser4/plugin/inode_ops.c
+++ b/fs/reiser4/plugin/inode_ops.c
@@ -21,14 +21,14 @@ static int create_vfs_object(struct inode *parent, struct dentry *dentry,
* @parent: inode of parent directory
* @dentry: dentry of new object to create
* @mode: the permissions to use
- * @nameidata:
+ * @exclusive:
*
* This is common implementation of vfs's create method of struct
* inode_operations.
* Creates regular file using file plugin from parent directory plugin set.
*/
int reiser4_create_common(struct inode *parent, struct dentry *dentry,
- umode_t mode, struct nameidata *nameidata)
+ umode_t mode, bool exclusive)
{
reiser4_object_create_data data;
file_plugin *fplug;
@@ -52,14 +52,14 @@ void check_light_weight(struct inode *inode, struct inode *parent);
* reiser4_lookup_common - lookup of inode operations
* @parent: inode of directory to lookup into
* @dentry: name to look for
- * @nameidata:
+ * @flags:
*
* This is common implementation of vfs's lookup method of struct
* inode_operations.
*/
struct dentry *reiser4_lookup_common(struct inode *parent,
struct dentry *dentry,
- struct nameidata *nameidata)
+ unsigned int flags)
{
reiser4_context *ctx;
int result;
diff --git a/fs/reiser4/plugin/object.h b/fs/reiser4/plugin/object.h
index 260ba27..49f11ae 100644
--- a/fs/reiser4/plugin/object.h
+++ b/fs/reiser4/plugin/object.h
@@ -10,10 +10,10 @@
/* common implementations of inode operations */
int reiser4_create_common(struct inode *parent, struct dentry *dentry,
- umode_t mode, struct nameidata *);
+ umode_t mode, bool);
struct dentry *reiser4_lookup_common(struct inode *parent,
struct dentry *dentry,
- struct nameidata *nameidata);
+ unsigned int);
int reiser4_link_common(struct dentry *existing, struct inode *parent,
struct dentry *newname);
int reiser4_unlink_common(struct inode *parent, struct dentry *victim);
--
1.7.12.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-21 17:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-21 17:59 [patch 3/4] reiser4: create and lookup do not take nameidata Edward Shishkin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).