diff options
author | Adrian Hunter <ext-adrian.hunter@nokia.com> | 2008-08-01 08:35:08 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-08-13 04:39:53 -0400 |
commit | 81ffa38e1558f54db190e2d11e7260ab09c4acf2 (patch) | |
tree | 061dd0d00388d995f6321276f2b1dd4194fc24ef /fs/ubifs/ubifs.h | |
parent | 3a13252c6f3a029ac992a36910e945f361482797 (diff) |
UBIFS: always set i_generation to 0
UBIFS does not presently re-use inode numbers, so leaving
i_generation zero is most appropriate for now.
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/ubifs.h')
-rw-r--r-- | fs/ubifs/ubifs.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h index 73ca8a009798..f2dd749d7989 100644 --- a/fs/ubifs/ubifs.h +++ b/fs/ubifs/ubifs.h | |||
@@ -876,11 +876,10 @@ struct ubifs_mount_opts { | |||
876 | * @bdi: backing device info object to make VFS happy and disable read-ahead | 876 | * @bdi: backing device info object to make VFS happy and disable read-ahead |
877 | * | 877 | * |
878 | * @highest_inum: highest used inode number | 878 | * @highest_inum: highest used inode number |
879 | * @vfs_gen: VFS inode generation counter | ||
880 | * @max_sqnum: current global sequence number | 879 | * @max_sqnum: current global sequence number |
881 | * @cmt_no: commit number of the last successfully completed commit, protected | 880 | * @cmt_no: commit number of the last successfully completed commit, protected |
882 | * by @commit_sem | 881 | * by @commit_sem |
883 | * @cnt_lock: protects @highest_inum, @vfs_gen, and @max_sqnum counters | 882 | * @cnt_lock: protects @highest_inum and @max_sqnum counters |
884 | * @fmt_version: UBIFS on-flash format version | 883 | * @fmt_version: UBIFS on-flash format version |
885 | * @uuid: UUID from super block | 884 | * @uuid: UUID from super block |
886 | * | 885 | * |
@@ -1117,7 +1116,6 @@ struct ubifs_info { | |||
1117 | struct backing_dev_info bdi; | 1116 | struct backing_dev_info bdi; |
1118 | 1117 | ||
1119 | ino_t highest_inum; | 1118 | ino_t highest_inum; |
1120 | unsigned int vfs_gen; | ||
1121 | unsigned long long max_sqnum; | 1119 | unsigned long long max_sqnum; |
1122 | unsigned long long cmt_no; | 1120 | unsigned long long cmt_no; |
1123 | spinlock_t cnt_lock; | 1121 | spinlock_t cnt_lock; |