diff options
author | Mark Fasheh <mfasheh@suse.com> | 2008-08-05 20:32:46 +0200 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-08-22 20:09:02 +0200 |
commit | 9780eb6cfaf7d2d5ccc061eaf94e7aec6a17791e (patch) | |
tree | 103ce3e47f06adcf3825902d406d06e6a76fd065 /fs/configfs | |
parent | ocfs2: Jump to correct label in ocfs2_expand_inline_dir() (diff) | |
download | linux-9780eb6cfaf7d2d5ccc061eaf94e7aec6a17791e.tar.xz linux-9780eb6cfaf7d2d5ccc061eaf94e7aec6a17791e.zip |
ocfs2: correctly set i_blocks after inline dir gets expanded
We were setting i_blocks based on allocation before the extent insert, which
is wrong as the value is a calculation based on ip_clusters which gets
updated as a result of the insert. This patch moves the line in question
to just after the call to ocfs2_insert_extent().
Without this fix, inline directories were temporarily having an i_blocks
value of zero immediately after expansion to extents.
Reported-and-tested-by: Tristan Ye <tristan.ye@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/configfs')
0 files changed, 0 insertions, 0 deletions