[PATCH V2 9/9 linux-next] udf: add function definition for udf_find_entry()

From: Fabian Frederick
Date: Wed Apr 08 2015 - 15:24:33 EST


Function return changed lately.

Suggested-by: Jan Kara <jack@xxxxxxx>
Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
---
fs/udf/namei.c | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/fs/udf/namei.c b/fs/udf/namei.c
index 891c067..1f8e4d0 100644
--- a/fs/udf/namei.c
+++ b/fs/udf/namei.c
@@ -138,6 +138,18 @@ int udf_write_fi(struct inode *inode, struct fileIdentDesc *cfi,
return 0;
}

+/**
+ * udf_find_entry - find entry in given directory.
+ *
+ * @dir: directory inode
+ * @child: qstr of the name
+ * @fibh: udf file identifier buffer head
+ * @cfi: current file identifier descriptor
+ *
+ * Return pointer to file identifier, NULL when nothing found or error code.
+ */
+
+
static struct fileIdentDesc *udf_find_entry(struct inode *dir,
const struct qstr *child,
struct udf_fileident_bh *fibh,
--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/