aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dnotify.c
diff options
context:
space:
mode:
authorSunil Mushran <sunil.musran@oracle.com>2007-08-06 18:11:56 -0400
committerMark Fasheh <mark.fasheh@oracle.com>2007-08-09 20:27:10 -0400
commit480214d71f1972756473415d31953647952400fb (patch)
tree558ca94278953cc2c01e60a206954d059fda75b1 /fs/dnotify.c
parent6a18380e7ddd7d1a0493efe3be6475dd92323364 (diff)
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/dnotify.c')
0 files changed, 0 insertions, 0 deletions