X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_guts.h;h=c58c84bf1f29962c1fcc74ab7596e7942a35330f;hp=abcb74fa13534995fcb09b9bfdc4055a433186e2;hb=f66be08746927c4dd5ac8daeb6f72c8f5386277c;hpb=859e8e1d2c37dd6ac976640c2d52281002af2c44 diff --git a/yaffs_guts.h b/yaffs_guts.h index abcb74f..c58c84b 100644 --- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -599,8 +599,9 @@ struct yaffs_DeviceStruct { int isYaffs2; /* The removeObjectCallback function must be supplied by OS flavours that - * need it. The Linux kernel does not use this, but yaffs direct does use - * it to implement the faster readdir + * need it. + * yaffs direct uses it to implement the faster readdir. + * Linux uses it to protect the directory during unlocking. */ void (*removeObjectCallback)(struct yaffs_ObjectStruct *obj); @@ -643,8 +644,11 @@ struct yaffs_DeviceStruct { struct rw_semaphore dirLock; /* Lock the directory structure */ __u8 *spareBuffer; /* For mtdif2 use. Don't know the size of the buffer * at compile time so we have to allocate it. + */ void (*putSuperFunc) (struct super_block *sb); + struct ylist_head searchContexts; + #endif int isMounted;