diff options
author | phk <phk@FreeBSD.org> | 2005-04-07 07:55:37 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-04-07 07:55:37 +0000 |
commit | bae9f6cfa0c2c9dd7716b10fa98896be0722850c (patch) | |
tree | 27302aa42f5e6b37b7bd6e06813acd6a8118297f /sys/fs/msdosfs/denode.h | |
parent | b7a4869221a838f4dd4856a2d45e1a47c03f4e72 (diff) | |
download | FreeBSD-src-bae9f6cfa0c2c9dd7716b10fa98896be0722850c.zip FreeBSD-src-bae9f6cfa0c2c9dd7716b10fa98896be0722850c.tar.gz |
Give msdosfs a unique inode number which is really the byteoffset of
the directory entry.
This solves the corruption problem I belive.
Regression test script by: silby
Diffstat (limited to 'sys/fs/msdosfs/denode.h')
-rw-r--r-- | sys/fs/msdosfs/denode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/msdosfs/denode.h b/sys/fs/msdosfs/denode.h index e3f5bb2..cbba8e7 100644 --- a/sys/fs/msdosfs/denode.h +++ b/sys/fs/msdosfs/denode.h @@ -158,6 +158,7 @@ struct denode { struct fatcache de_fc[FC_SIZE]; /* fat cache */ u_quad_t de_modrev; /* Revision level for lease. */ struct lockf *de_lockf; /* lockf */ + u_int64_t de_inode; /* Inode number (really byte offset of direntry) */ }; /* |