summaryrefslogtreecommitdiff
path: root/fs/ubifs/dir.c
diff options
context:
space:
mode:
authorAdrian Hunter <ext-adrian.hunter@nokia.com>2008-08-01 15:35:08 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-08-13 11:39:53 +0300
commit81ffa38e1558f54db190e2d11e7260ab09c4acf2 (patch)
tree061dd0d00388d995f6321276f2b1dd4194fc24ef /fs/ubifs/dir.c
parent3a13252c6f3a029ac992a36910e945f361482797 (diff)
downloadlinux-3.10-81ffa38e1558f54db190e2d11e7260ab09c4acf2.tar.gz
linux-3.10-81ffa38e1558f54db190e2d11e7260ab09c4acf2.tar.bz2
linux-3.10-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 eba3a8a7c33..0d1ab8967a4 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,