summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/export.c
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2007-01-02 17:59:40 -0800
committerMark Fasheh <mark.fasheh@oracle.com>2007-01-21 16:18:49 -0800
commit592282cf2eaa33409c6511ddd3f3ecaa57daeaaa (patch)
treefea7fe8403d6b2a96848372a69976b0123a4cf1d /fs/ocfs2/export.c
parent72bce5078d124a8b13fb167aea028b6e8d91873e (diff)
downloadlinux-592282cf2eaa33409c6511ddd3f3ecaa57daeaaa.tar.gz
linux-592282cf2eaa33409c6511ddd3f3ecaa57daeaaa.tar.bz2
linux-592282cf2eaa33409c6511ddd3f3ecaa57daeaaa.zip
ocfs2: Directory c/mtime update fixes
ocfs2 wasn't updating c/mtime on directories during dirent creation/deletion. Fix ocfs2_unlink(), ocfs2_rename() and __ocfs2_add_entry() by adding the proper code to update the struct inode and push the change out to disk. This helps rename/unlink on nfs exported file systems in particular as those clients compare directory time values to avoid a full re-reading a directory which hasn't changed. ocfs2_rename() loses some superfluous error handling as a result of this patch. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/export.c')
0 files changed, 0 insertions, 0 deletions