X-Git-Url: https://yaffs.net/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_vfs_multi.c;h=e763e0c9c5cd3089f0513f87279f276719a429d6;hp=e2f002e0cac9020f43d425d582d6e486d21ce503;hb=3de09ef5a181999f7340462154034b727827e4fa;hpb=055b040da24e492d9987054c944f44fb3d15aefa diff --git a/yaffs_vfs_multi.c b/yaffs_vfs_multi.c index e2f002e..e763e0c 100644 --- a/yaffs_vfs_multi.c +++ b/yaffs_vfs_multi.c @@ -1,8 +1,7 @@ /* * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. * - * Copyright (C) 2002-2011 Aleph One Ltd. - * for Toby Churchill Ltd and Brightstar Engineering + * Copyright (C) 2002-2018 Aleph One Ltd. * * Created by Charles Manning * Acknowledgements: @@ -1820,8 +1819,10 @@ static int yaffs_iterate(struct file *f, struct dir_context *dc) goto out; } - if (!dir_emit_dots(f, dc)) + if (!dir_emit_dots(f, dc)) { + yaffs_gross_unlock(dev); return 0; + } curoffs = 1;