diff options
Diffstat (limited to 'kernel/fs/udf/dir.c')
-rw-r--r-- | kernel/fs/udf/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/udf/dir.c b/kernel/fs/udf/dir.c index 541a12b57..541d9c650 100644 --- a/kernel/fs/udf/dir.c +++ b/kernel/fs/udf/dir.c @@ -168,7 +168,7 @@ static int udf_readdir(struct file *file, struct dir_context *ctx) } flen = udf_get_filename(sb, nameptr, lfi, fname, UDF_NAME_LEN); - if (!flen) + if (flen < 0) continue; tloc = lelb_to_cpu(cfi.icb.extLocation); |