udf: Provide function for calculating dir entry length
authorJan Kara <jack@suse.cz>
Wed, 13 Jun 2018 15:30:14 +0000 (17:30 +0200)
committerJan Kara <jack@suse.cz>
Wed, 20 Jun 2018 09:05:49 +0000 (11:05 +0200)
commitf2e83347119acc0412941c5a23d895624c9300e2
tree7c57d33e7bc50b49fff6c5edc73a8992bfae83ff
parentfa65653e575fbd958bdf5fb9c4a71a324e39510d
udf: Provide function for calculating dir entry length

Provide function for calculating directory entry length and use to
reduce code duplication.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/directory.c
fs/udf/namei.c
fs/udf/udfdecl.h