The UDF file system does not include '.' in the count of items in a directory. This was not accounted for in the code for vop_getattr.
Fix: Patch attached with submission follows:
How-To-Repeat: This issue can been seen by mounting a UDF file system and comparing the count given by ls -l for the number of entries in the mount point to the actual number of entries. (The count will be one less then the actual number of entries. '.' is excluded from the count.)
Err, I have this all wrong. I don't know where I came up with
directories entry counts. The UDF file system under counts the number
of links to directories by one. It does not count for '.', which
doesn't actually exist in the file system but presented in the by
system. A directory in the udf filesystem with one subdirectory and
no other links to the directory would have a link count of 2. This
arrangement under udf would have a link count of 3.
For bugs matching the following criteria:
Status: In Progress Changed: (is less than) 2014-06-01
Reset to default assignee and clear in-progress tags.
Mail being skipped