diff options
author | Mark Fasheh <mfasheh@suse.com> | 2008-08-05 22:32:46 +0400 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-08-22 22:09:02 +0400 |
commit | 9780eb6cfaf7d2d5ccc061eaf94e7aec6a17791e (patch) | |
tree | 103ce3e47f06adcf3825902d406d06e6a76fd065 /fs/configfs/dir.c | |
parent | 83cab5338fa8c74f979223698c8d4cc88f2ab68e (diff) | |
download | linux-9780eb6cfaf7d2d5ccc061eaf94e7aec6a17791e.tar.xz |
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/dir.c')
0 files changed, 0 insertions, 0 deletions