summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/dir.c
diff options
context:
space:
mode:
authorAdrian Hunter <ext-adrian.hunter@nokia.com>2008-08-01 14:35:08 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-08-13 10:39:53 +0200
commit81ffa38e1558f54db190e2d11e7260ab09c4acf2 (patch)
tree061dd0d00388d995f6321276f2b1dd4194fc24ef /fs/ubifs/dir.c
parentUBIFS: correct spelling of "thrice". (diff)
downloadlinux-81ffa38e1558f54db190e2d11e7260ab09c4acf2.tar.xz
linux-81ffa38e1558f54db190e2d11e7260ab09c4acf2.zip
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/dir.c')
-rw-r--r--fs/ubifs/dir.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c
index eba3a8a7c333..0d1ab8967a4c 100644
--- a/fs/ubifs/dir.c
+++ b/fs/ubifs/dir.c
@@ -165,7 +165,6 @@ struct inode *ubifs_new_inode(struct ubifs_info *c, const struct inode *dir,
}
inode->i_ino = ++c->highest_inum;
- inode->i_generation = ++c->vfs_gen;
/*
* The creation sequence number remains with this inode for its
* lifetime. All nodes for this inode have a greater sequence number,