/*
* 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 <charles@aleph1.co.uk>
* Acknowledgements:
goto out;
}
- if (!dir_emit_dots(f, dc))
+ if (!dir_emit_dots(f, dc)) {
+ yaffs_gross_unlock(dev);
return 0;
+ }
curoffs = 1;