udf: Fix file counting in LVID
authorJan Kara <jack@suse.cz>
Wed, 25 Jan 2023 18:31:38 +0000 (19:31 +0100)
committerJan Kara <jack@suse.cz>
Thu, 26 Jan 2023 15:46:37 +0000 (16:46 +0100)
commit085cf7b7e2ef7bdd88c8f2f56a17d756bd18f1a4
tree58e01ef1659cbaab90bdd618077e9a64de4dce12
parentc2efd13a2ed4f29bf9ef14ac2fbb7474084655f8
udf: Fix file counting in LVID

numFiles entry in LVID should actually contain number for non-dir file
entries, not the number of non-dir inodes. Move the counting from inode
allocation / deallocation into directory entry handling functions.

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