diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-04-07 07:55:37 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-04-07 07:55:37 +0000 |
commit | f4b423ae601ff67f8115a223d88c605b437ff0f6 (patch) | |
tree | 27302aa42f5e6b37b7bd6e06813acd6a8118297f /sys/fs/msdosfs/denode.h | |
parent | 2e0b9b22f0fc72bb3e44e359063d1bfe93016177 (diff) |
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
Notes
Notes:
svn path=/head/; revision=144740
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 e3f5bb245d56..cbba8e79af11 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) */ }; /* |