|
@@ -870,6 +870,12 @@ retry_journal:
|
|
|
goto out_journal;
|
|
|
}
|
|
|
|
|
|
+ /*
|
|
|
+ * We cannot recurse into the filesystem as the transaction
|
|
|
+ * is already started.
|
|
|
+ */
|
|
|
+ flags |= AOP_FLAG_NOFS;
|
|
|
+
|
|
|
if (ret == -ENOSPC) {
|
|
|
ret = ext4_da_convert_inline_data_to_extent(mapping,
|
|
|
inode,
|
|
@@ -882,11 +888,6 @@ retry_journal:
|
|
|
goto out;
|
|
|
}
|
|
|
|
|
|
- /*
|
|
|
- * We cannot recurse into the filesystem as the transaction
|
|
|
- * is already started.
|
|
|
- */
|
|
|
- flags |= AOP_FLAG_NOFS;
|
|
|
|
|
|
page = grab_cache_page_write_begin(mapping, 0, flags);
|
|
|
if (!page) {
|