summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/sysfile.c
diff options
context:
space:
mode:
authorSunil Mushran2007-08-07 00:11:56 +0200
committerMark Fasheh2007-08-10 02:27:10 +0200
commit480214d71f1972756473415d31953647952400fb (patch)
tree558ca94278953cc2c01e60a206954d059fda75b1 /fs/ocfs2/sysfile.c
parent[2.6 patch] ocfs2_insert_extent(): remove dead code (diff)
downloadkernel-qcow2-linux-480214d71f1972756473415d31953647952400fb.tar.gz
kernel-qcow2-linux-480214d71f1972756473415d31953647952400fb.tar.xz
kernel-qcow2-linux-480214d71f1972756473415d31953647952400fb.zip
ocfs2: Fix rename/extend race
If one process is extending a file while another is renaming it, there exists a window when rename could flush the old inode's stale i_size to disk. This patch recognizes the fact that rename is only updating the old inode's ctime, so it ensures only that value is flushed to disk. Signed-off-by: Sunil Mushran <sunil.musran@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/sysfile.c')
0 files changed, 0 insertions, 0 deletions