ocfs2: retry on ENOSPC if sufficient space in truncate log
[cascardo/linux.git] / fs / ocfs2 / alloc.h
index f3dc1b0..4a5152e 100644 (file)
@@ -188,6 +188,8 @@ int ocfs2_truncate_log_append(struct ocfs2_super *osb,
                              u64 start_blk,
                              unsigned int num_clusters);
 int __ocfs2_flush_truncate_log(struct ocfs2_super *osb);
+int ocfs2_try_to_free_truncate_log(struct ocfs2_super *osb,
+                                  unsigned int needed);
 
 /*
  * Process local structure which describes the block unlinks done