diff options
| author | rtm | 2006-08-25 01:11:30 +0000 |
|---|---|---|
| committer | rtm | 2006-08-25 01:11:30 +0000 |
| commit | 5051da6de3fcabb9e280d3bf36549da0ac0d5738 (patch) | |
| tree | 9e93001ead271f31870c0896a409698309ff7f5d /fs.h | |
| parent | 74493bf4460f4024e06760289735e9d5dcb9dc3f (diff) | |
inode addrs[NDIRECT] -> NADDRS
fix race in mknod / creat
use last component in dirent in mknod, not path
Diffstat (limited to 'fs.h')
| -rw-r--r-- | fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9,7 +9,7 @@ struct superblock{ uint ninodes; }; -#define NADDRS NDIRECT+1 +#define NADDRS (NDIRECT+1) #define NDIRECT 12 #define INDIRECT 12 #define NINDIRECT (BSIZE / sizeof(uint)) |
