diff options
author | Bob Peterson <rpeterso@redhat.com> | 2011-03-22 13:54:03 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2011-04-20 08:53:56 +0100 |
commit | d24a7a439a329b60f8e168c03e80566519e09be2 (patch) | |
tree | a1e46fcf0cbe16e9338164da9442447a84872dc2 /fs/xattr.c | |
parent | 0d95326d9bd39f6eae80b91392b308c5fa8b1a0f (diff) |
GFS2: Combine transaction from gfs2_dir_exhash_dealloc
At the end of function gfs2_dir_exhash_dealloc, it was setting the dinode
type to "file" to prevent directory corruption in case of a crash.
It was doing so in its own journal transaction. This patch makes the
change occur when the last call is make to leaf_dealloc, since it needs
to rewrite the directory dinode at that time anyway.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/xattr.c')
0 files changed, 0 insertions, 0 deletions