[Ocfs2-tools-devel] [PATCH 2/2] Libocfs2: Set dtime in ocfs2_delete_inode()
Tristan Ye
tristan.ye at oracle.com
Tue Mar 23 00:50:10 PDT 2010
Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
---
libocfs2/alloc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libocfs2/alloc.c b/libocfs2/alloc.c
index 96c4fc1..d3203b9 100644
--- a/libocfs2/alloc.c
+++ b/libocfs2/alloc.c
@@ -347,6 +347,7 @@ errcode_t ocfs2_delete_inode(ocfs2_filesys *fs, uint64_t ino)
goto out;
di->i_flags &= ~OCFS2_VALID_FL;
+ di->i_dtime = time(NULL);
ret = ocfs2_write_inode(fs, di->i_blkno, buf);
out:
--
1.5.5
More information about the Ocfs2-tools-devel
mailing list