From 121805b41002901c6b8084cc814fd647c334baed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 28 Jul 2009 21:55:11 +0000 Subject: [PATCH] * We need to update the status change time as well with each write, as required by POSIX semantics. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31872 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/file_systems/bfs/Inode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/file_systems/bfs/Inode.cpp b/src/add-ons/kernel/file_systems/bfs/Inode.cpp index f20400f50d..3125d2617e 100644 --- a/src/add-ons/kernel/file_systems/bfs/Inode.cpp +++ b/src/add-ons/kernel/file_systems/bfs/Inode.cpp @@ -1488,7 +1488,7 @@ Inode::WriteAt(Transaction& transaction, off_t pos, const uint8* buffer, // update the last modification time in memory, it will be written // back to the inode, and the index when the file is closed // TODO: should update the internal last modified time only at this point! - Node().last_modified_time + Node().last_modified_time = Node().status_change_time = HOST_ENDIAN_TO_BFS_INT64(bfs_inode::ToInode(real_time_clock_usecs())); // TODO: support INODE_LOGGED!