[Ocfs2-devel] + fs-buffer-clean-up-block_commit_write-fix.patch added to mm-unstable branch

Andrew Morton akpm at linux-foundation.org
Mon Jul 3 00:04:22 UTC 2023


The patch titled
     Subject: fs-buffer-clean-up-block_commit_write-fix
has been added to the -mm mm-unstable branch.  Its filename is
     fs-buffer-clean-up-block_commit_write-fix.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/fs-buffer-clean-up-block_commit_write-fix.patch

This patch will later appear in the mm-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days

------------------------------------------------------
From: Andrew Morton <akpm at linux-foundation.org>
Subject: fs-buffer-clean-up-block_commit_write-fix
Date: Sun Jul  2 05:03:36 PM PDT 2023

remove now-unused local `inode'

Cc: Al Viro <viro at zeniv.linux.org.uk>
Cc: Andreas Dilger <adilger.kernel at dilger.ca>
Cc: Bean Huo <beanhuo at micron.com>
Cc: Christian Brauner <brauner at kernel.org>
Cc: Christoph Hellwig <hch at lst.de>
Cc: Jan Kara <jack at suse.cz>
Cc: Joel Becker <jlbec at evilplan.org>
Cc: Joseph Qi <joseph.qi at linux.alibaba.com>
Cc: Luís Henriques <ocfs2-devel at oss.oracle.com>
Cc: Mark Fasheh <mark at fasheh.com>
Cc: Matthew Wilcox (Oracle) <willy at infradead.org>
Cc: Theodore Ts'o <tytso at mit.edu>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
---

 fs/buffer.c |    1 -
 1 file changed, 1 deletion(-)

--- a/fs/buffer.c~fs-buffer-clean-up-block_commit_write-fix
+++ a/fs/buffer.c
@@ -2252,7 +2252,6 @@ int block_write_end(struct file *file, s
 			struct page *page, void *fsdata)
 {
 	struct folio *folio = page_folio(page);
-	struct inode *inode = mapping->host;
 	size_t start = pos - folio_pos(folio);
 
 	if (unlikely(copied < len)) {
_

Patches currently in -mm which might be from akpm at linux-foundation.org are

mm-shmem-fix-race-in-shmem_undo_range-w-thp-fix.patch
swap-stop-add-to-avail-list-is-swap-is-full-checkpatch-fixes.patch
fs-buffer-clean-up-block_commit_write-fix.patch




More information about the Ocfs2-devel mailing list