summaryrefslogtreecommitdiffstats
path: root/kernel/fs/ocfs2/namei.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/ocfs2/namei.h')
-rw-r--r--kernel/fs/ocfs2/namei.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/kernel/fs/ocfs2/namei.h b/kernel/fs/ocfs2/namei.h
index 5ddecce17..1155918d6 100644
--- a/kernel/fs/ocfs2/namei.h
+++ b/kernel/fs/ocfs2/namei.h
@@ -26,6 +26,9 @@
#ifndef OCFS2_NAMEI_H
#define OCFS2_NAMEI_H
+#define OCFS2_DIO_ORPHAN_PREFIX "dio-"
+#define OCFS2_DIO_ORPHAN_PREFIX_LEN 4
+
extern const struct inode_operations ocfs2_dir_iops;
struct dentry *ocfs2_get_parent(struct dentry *child);
@@ -42,8 +45,8 @@ int ocfs2_create_inode_in_orphan(struct inode *dir,
int ocfs2_add_inode_to_orphan(struct ocfs2_super *osb,
struct inode *inode);
int ocfs2_del_inode_from_orphan(struct ocfs2_super *osb,
- struct inode *inode, int update_isize,
- loff_t end);
+ struct inode *inode, struct buffer_head *di_bh,
+ int update_isize, loff_t end);
int ocfs2_mv_orphaned_inode_to_new(struct inode *dir,
struct inode *new_inode,
struct dentry *new_dentry);