*
* For licensing information, see the file 'LICENCE' in this directory.
*
- * $Id: dir.c,v 1.76 2003/05/26 09:50:38 dwmw2 Exp $
+ * $Id: dir.c,v 1.77 2003/06/05 14:42:24 dwmw2 Exp $
*
*/
up(&f->sem);
/* Work out where to put the dirent node now. */
- writtenlen = (writtenlen+3)&~3;
+ writtenlen = PAD(writtenlen);
phys_ofs += writtenlen;
alloclen -= writtenlen;
up(&f->sem);
/* Work out where to put the dirent node now. */
- writtenlen = (writtenlen+3)&~3;
+ writtenlen = PAD(writtenlen);
phys_ofs += writtenlen;
alloclen -= writtenlen;