X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=inline;f=yaffs_guts.h;h=abcb74fa13534995fcb09b9bfdc4055a433186e2;hb=859e8e1d2c37dd6ac976640c2d52281002af2c44;hp=f47c65edda47f8362c2569b4de74e8a7782438da;hpb=5735c2f731407e26a216f05949b5f9a361aa36fe;p=yaffs2.git diff --git a/yaffs_guts.h b/yaffs_guts.h index f47c65e..abcb74f 100644 --- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -640,6 +640,7 @@ struct yaffs_DeviceStruct { struct semaphore sem; /* Semaphore for waiting on erasure.*/ struct semaphore grossLock; /* Gross locking semaphore */ + 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. */