[Ocfs2-tools-commits] branch, master, updated. ocfs2-tools-1.4.0-384-gc86baa4
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed Oct 14 19:48:20 PDT 2009
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Tools to manage the ocfs2 filesystem.".
The branch, master has been updated
via c86baa4116e1fe4d716ea4c1a5ee24bacb24541d (commit)
from 8ed60a0b7f73137689f61bc40116eb078e4c15bb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c86baa4116e1fe4d716ea4c1a5ee24bacb24541d
Author: Tao Ma <tao.ma at oracle.com>
Date: Thu Oct 15 09:45:17 2009 +0800
libocfs2: Don't free cached_inode in ocfs2_file_write.
In ocfs2_file_write, ci is passed from the caller, so
we can't free it and then initialize.
Add a new function named ocfs2_refresh_cached_inode which
will re-read the inode from the disk to refresh
the stale inode information in ocfs2_cached_inode.
Note:
There are also some functions which call free_cached_inode
first and then read_cached_inode. They also can be changed
to ocfs2_refresh_cached_inode, but it should be in another
separate patch of course.
Signed-off-by: Tao Ma <tao.ma at oracle.com>
Signed-off-by: Joel Becker <joel.becker at oracle.com>
-----------------------------------------------------------------------
Summary of changes:
include/ocfs2/ocfs2.h | 2 ++
libocfs2/cached_inode.c | 12 ++++++++++++
libocfs2/fileio.c | 11 ++++++++---
3 files changed, 22 insertions(+), 3 deletions(-)
hooks/post-receive
--
Tools to manage the ocfs2 filesystem.
More information about the Ocfs2-tools-commits
mailing list