Skip to contentSkip to conversation

ocfs2-fix-ocfs2_sync_file-if-filesystem-is-readonly-fix.patch removed from -mm tree

folded-merged [email protected] 1 participant 1 message Feb 10, 2014 OCFS2

lore
Share & tools
lore
#0 lore raw

Subject: [folded-merged] ocfs2-fix-ocfs2_sync_file-if-filesystem-is-readonly-fix.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 10 Feb 2014 14:21:48 -0800

The patch titled
Subject: ocfs2-fix-ocfs2_sync_file-if-filesystem-is-readonly-fix
has been removed from the -mm tree. Its filename was
ocfs2-fix-ocfs2_sync_file-if-filesystem-is-readonly-fix.patch

This patch was dropped because it was folded into ocfs2-fix-ocfs2_sync_file-if-filesystem-is-readonly.patch

------------------------------------------------------
From: Andrew Morton <[email protected]>
Subject: ocfs2-fix-ocfs2_sync_file-if-filesystem-is-readonly-fix

return -EROFS, not 0

Cc Joel Becker <[email protected]>
Cc Mark Fasheh <[email protected]>
Cc Younger Liu <[email protected]>

---

 fs/ocfs2/file.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ocfs2/file.c renamed from fs/ocfs2/file.c~ocfs2-fix-ocfs2_sync_file-if-filesystem-is-readonly-fix +1 -1
diff -puN fs/ocfs2/file.c~ocfs2-fix-ocfs2_sync_file-if-filesystem-is-readonly-fix fs/ocfs2/file.c
@@ -186,7 +186,7 @@ static int ocfs2_sync_file(struct file *
 			      (unsigned long long)datasync);
 
 	if (ocfs2_is_hard_readonly(osb) || ocfs2_is_soft_readonly(osb))
-		return 0;
+		return -EROFS;
 
 	err = filemap_write_and_wait_range(inode->i_mapping, start, end);
 	if (err)

_

Patches currently in -mm which might be from [email protected] are

arch-alpha-kernel-systblss-remove-debug-check.patch i-need-old-gcc.patch xen-properly-account-for-_page_numa-during-xen-pte-translations.patch ocfs2-fix-ocfs2_sync_file-if-filesystem-is-readonly.patch mm-memory-failurec-move-refcount-only-in-mf_count_increased-fix.patch input-route-kbd-leds-through-the-generic-leds-layer.patch
mm.patch
mm-hugetlb-improve-page-fault-scalability-fix.patch mm-vmstat-fix-up-zone-state-accounting-fix.patch mm-keep-page-cache-radix-tree-nodes-in-check-fix-fix.patch kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-fix.patch kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-checkpatch-fixes.patch linux-next.patch
linux-next-rejects.patch
debugging-keep-track-of-page-owners.patch journal_add_journal_head-debug.patch kernel-forkc-export-kernel_thread-to-modules.patch mutex-subsystem-synchro-test-module.patch
slab-leaks3-default-y.patch
put_bh-debug.patch