On Wed 08-04-15 21:23:59, Fabian Frederick wrote: > Function return changed lately. > > Suggested-by: Jan Kara <j...@suse.cz> > Signed-off-by: Fabian Frederick <f...@skynet.be> I've significantly extended the documentation of udf_find_entry() and folded this patch into the previous one.
Honza > --- > 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 > -- Jan Kara <j...@suse.cz> SUSE Labs, CR -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/