proc: remove mark_inode_dirty() in .setattr()
authorChao Yu <chao@kernel.org>
Tue, 31 Jan 2023 15:08:40 +0000 (23:08 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 8 Apr 2023 20:45:36 +0000 (13:45 -0700)
commitb99b258899d7a59e60169f402e5bce6b8272ce97
treea6cd6ff38cf9c2caadf78f805f99bde296edb545
parent0de155752b152d6bcd96b5b5bf20af336abd183a
proc: remove mark_inode_dirty() in .setattr()

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
fs/proc/generic.c
fs/proc/proc_sysctl.c