Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prevent i_dtime from being mistaken for an inode number post-2038 wraparound
[tools/e2fsprogs.git]
/
misc
/
fuse2fs.c
diff --git
a/misc/fuse2fs.c
b/misc/fuse2fs.c
index
6b2e727
..
5927fdf
100644
(file)
--- a/
misc/fuse2fs.c
+++ b/
misc/fuse2fs.c
@@
-1243,7
+1243,7
@@
static int remove_inode(struct fuse2fs *ff, ext2_ino_t ino)
return 0; /* XXX: already done? */
case 1:
inode.i_links_count--;
-
inode.i_dtime = fs->now ? fs->now : time(0
);
+
ext2fs_set_dtime(fs, EXT2_INODE(&inode)
);
break;
default:
inode.i_links_count--;