* - a hard link
*/
+/* The file variant has three file sizes:
+ * - file_size : size of file as written into Yaffs - including data in cache.
+ * - stored_size - size of file as stored on media.
+ * - shrink_size - size of file that has been shrunk back to.
+ *
+ * The stored_size and file_size might be different because the data written
+ * into the cache will increase the file_size but the stored_size will only
+ * change when the data is actually stored.
+ *
+ */
struct yaffs_file_var {
loff_t file_size;
- loff_t scanned_size;
+ loff_t stored_size;
loff_t shrink_size;
int top_level;
struct yaffs_tnode *top;
* 0 = no limit.
*/
+ int hide_lost_n_found; /* Set non-zero to hide the lost-n-found dir. */
+
/* The remove_obj_fn function must be supplied by OS flavours that
* need it.
* yaffs direct uses it to implement the faster readdir.