diff options
Diffstat (limited to 'fs/ocfs2/dir.c')
-rw-r--r-- | fs/ocfs2/dir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c index 9cce563fd627..fda09c32a5f2 100644 --- a/fs/ocfs2/dir.c +++ b/fs/ocfs2/dir.c | |||
@@ -1479,7 +1479,8 @@ static int ocfs2_extend_dir(struct ocfs2_super *osb, | |||
1479 | spin_lock(&OCFS2_I(dir)->ip_lock); | 1479 | spin_lock(&OCFS2_I(dir)->ip_lock); |
1480 | if (dir_i_size == ocfs2_clusters_to_bytes(sb, OCFS2_I(dir)->ip_clusters)) { | 1480 | if (dir_i_size == ocfs2_clusters_to_bytes(sb, OCFS2_I(dir)->ip_clusters)) { |
1481 | spin_unlock(&OCFS2_I(dir)->ip_lock); | 1481 | spin_unlock(&OCFS2_I(dir)->ip_lock); |
1482 | num_free_extents = ocfs2_num_free_extents(osb, dir, fe); | 1482 | num_free_extents = ocfs2_num_free_extents(osb, dir, |
1483 | parent_fe_bh); | ||
1483 | if (num_free_extents < 0) { | 1484 | if (num_free_extents < 0) { |
1484 | status = num_free_extents; | 1485 | status = num_free_extents; |
1485 | mlog_errno(status); | 1486 | mlog_errno(status); |