* [merged mm-nonmm-stable] proc-remove-mark_inode_dirty-in-setattr.patch removed from -mm tree
@ 2023-04-06 2:52 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-04-06 2:52 UTC (permalink / raw)
To: mm-commits, adobriyan, chao, akpm
The quilt patch titled
Subject: proc: remove mark_inode_dirty() in .setattr()
has been removed from the -mm tree. Its filename was
proc-remove-mark_inode_dirty-in-setattr.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Chao Yu <chao@kernel.org>
Subject: proc: remove mark_inode_dirty() in .setattr()
Date: Tue, 31 Jan 2023 23:08:40 +0800
procfs' .setattr() has updated i_uid, i_gid and i_mode into proc dirent,
we don't need to call mark_inode_dirty() for delayed update, remove it.
Link: https://lkml.kernel.org/r/20230131150840.34726-1-chao@kernel.org
Signed-off-by: Chao Yu <chao@kernel.org>
Reviewed-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/proc/base.c | 1 -
fs/proc/generic.c | 1 -
fs/proc/proc_sysctl.c | 1 -
3 files changed, 3 deletions(-)
--- a/fs/proc/base.c~proc-remove-mark_inode_dirty-in-setattr
+++ a/fs/proc/base.c
@@ -699,7 +699,6 @@ int proc_setattr(struct mnt_idmap *idmap
return error;
setattr_copy(&nop_mnt_idmap, inode, attr);
- mark_inode_dirty(inode);
return 0;
}
--- a/fs/proc/generic.c~proc-remove-mark_inode_dirty-in-setattr
+++ a/fs/proc/generic.c
@@ -127,7 +127,6 @@ static int proc_notify_change(struct mnt
return error;
setattr_copy(&nop_mnt_idmap, inode, iattr);
- mark_inode_dirty(inode);
proc_set_user(de, inode->i_uid, inode->i_gid);
de->mode = inode->i_mode;
--- a/fs/proc/proc_sysctl.c~proc-remove-mark_inode_dirty-in-setattr
+++ a/fs/proc/proc_sysctl.c
@@ -841,7 +841,6 @@ static int proc_sys_setattr(struct mnt_i
return error;
setattr_copy(&nop_mnt_idmap, inode, attr);
- mark_inode_dirty(inode);
return 0;
}
_
Patches currently in -mm which might be from chao@kernel.org are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-06 2:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-06 2:52 [merged mm-nonmm-stable] proc-remove-mark_inode_dirty-in-setattr.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.