* [merged] vfs-remove-might_sleep-from-clear_inode.patch removed from -mm tree
@ 2018-02-07 19:59 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2018-02-07 19:59 UTC (permalink / raw)
To: gthelen, hannes, jack, mhocko, mm-commits, shakeelb, viro
The patch titled
Subject: vfs: remove might_sleep() from clear_inode()
has been removed from the -mm tree. Its filename was
vfs-remove-might_sleep-from-clear_inode.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Shakeel Butt <shakeelb@google.com>
Subject: vfs: remove might_sleep() from clear_inode()
7994e6f72543 ("vfs: Move waiting for inode writeback from end_writeback()
to evict_inode()") removed inode_sync_wait() from end_writeback() and
commit dbd5768f87ff ("vfs: Rename end_writeback() to clear_inode()")
renamed end_writeback() to clear_inode(). After these patches there is no
sleeping operation in clear_inode(). So, remove might_sleep() from it.
Link: http://lkml.kernel.org/r/20171108004354.40308-1-shakeelb@google.com
Signed-off-by: Shakeel Butt <shakeelb@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Greg Thelen <gthelen@google.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/inode.c | 1 -
1 file changed, 1 deletion(-)
diff -puN fs/inode.c~vfs-remove-might_sleep-from-clear_inode fs/inode.c
--- a/fs/inode.c~vfs-remove-might_sleep-from-clear_inode
+++ a/fs/inode.c
@@ -498,7 +498,6 @@ EXPORT_SYMBOL(__remove_inode_hash);
void clear_inode(struct inode *inode)
{
- might_sleep();
/*
* We have to cycle tree_lock here because reclaim can be still in the
* process of removing the last page (in __delete_from_page_cache())
_
Patches currently in -mm which might be from shakeelb@google.com are
mm-mlock-vmscan-no-more-skipping-pagevecs.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-02-07 19:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-07 19:59 [merged] vfs-remove-might_sleep-from-clear_inode.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).