summaryrefslogtreecommitdiffstats
path: root/fs/configfs
diff options
context:
space:
mode:
authorMark Fasheh <mfasheh@suse.com>2008-08-05 20:32:46 +0200
committerMark Fasheh <mfasheh@suse.com>2008-08-22 20:09:02 +0200
commit9780eb6cfaf7d2d5ccc061eaf94e7aec6a17791e (patch)
tree103ce3e47f06adcf3825902d406d06e6a76fd065 /fs/configfs
parentocfs2: Jump to correct label in ocfs2_expand_inline_dir() (diff)
downloadlinux-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