]> err.no Git - linux-2.6/blobdiff - fs/ocfs2/dir.h
ocfs2: Increment the reference count of an already-active stack.
[linux-2.6] / fs / ocfs2 / dir.h
index 3e65f91b034d2e0a34fca28a2fa7df3432919b8b..ce48b9080d87c8b2a69839b9b33ee8433f2ee786 100644 (file)
@@ -50,6 +50,9 @@ static inline int ocfs2_add_entry(handle_t *handle,
                                 dentry->d_name.name, dentry->d_name.len,
                                 inode, blkno, parent_fe_bh, insert_bh);
 }
+int ocfs2_update_entry(struct inode *dir, handle_t *handle,
+                      struct buffer_head *de_bh, struct ocfs2_dir_entry *de,
+                      struct inode *new_entry_inode);
 
 int ocfs2_check_dir_for_entry(struct inode *dir,
                              const char *name,
@@ -61,6 +64,8 @@ int ocfs2_find_files_on_disk(const char *name,
                             struct inode *inode,
                             struct buffer_head **dirent_bh,
                             struct ocfs2_dir_entry **dirent);
+int ocfs2_lookup_ino_from_name(struct inode *dir, const char *name,
+                              int namelen, u64 *blkno);
 int ocfs2_readdir(struct file *filp, void *dirent, filldir_t filldir);
 int ocfs2_dir_foreach(struct inode *inode, loff_t *f_pos, void *priv,
                      filldir_t filldir);