ocfs2: Reserve 1 more cluster in expanding_inline_dir for indexed dir.
authorTao Ma <tao.ma@oracle.com>
Mon, 6 Apr 2009 23:40:57 +0000 (07:40 +0800)
committerMark Fasheh <mfasheh@suse.com>
Tue, 7 Apr 2009 16:40:17 +0000 (09:40 -0700)
commit035a571120ddbe4f92b91bbe46f3eff05b6e43eb
tree4531b51dab77f7c715b61b74d69e78093b38e16c
parent612392307cb09e49051225092cbbd7049bd8db93
ocfs2: Reserve 1 more cluster in expanding_inline_dir for indexed dir.

In ocfs2_expand_inline_dir, we calculate whether we need 1 extra
cluster if we can't store the dx inline the root and save it in
dx_alloc. So add it when we call ocfs2_reserve_clusters.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/dir.c