diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-04-08 21:23:58 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2015-05-18 11:23:07 +0200 |
commit | 231473f6ddcef9c01993e0bfe36acc6f8e425c31 (patch) | |
tree | 8f756c6d7ddbd6ffffd90f35ccdc3746e0cc8f9c /fs/udf/directory.c | |
parent | udf: Make udf_get_filename() return error instead of 0 length file name (diff) | |
download | linux-231473f6ddcef9c01993e0bfe36acc6f8e425c31.tar.xz linux-231473f6ddcef9c01993e0bfe36acc6f8e425c31.zip |
udf: Return error from udf_find_entry()
Return appropriate error from udf_find_entry() instead of just NULL.
That way we can distinguish the fact that some error happened when
looking up filename (and return error to userspace) from the fact that
we just didn't find the filename. Also update callers of
udf_find_entry() accordingly.
[JK: Improved udf_find_entry() documentation]
Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/directory.c')
0 files changed, 0 insertions, 0 deletions