Skip to contentSkip to conversation

vfs-remove-might_sleep-from-clear_inode.patch removed from -mm tree

merged [email protected] 1 participant 1 message Feb 7, 2018

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

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 <[email protected]>
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.

---

 fs/inode.c |    1 -
 1 file changed, 1 deletion(-)
fs/inode.c renamed from fs/inode.c~vfs-remove-might_sleep-from-clear_inode +0 -1
diff -puN fs/inode.c~vfs-remove-might_sleep-from-clear_inode 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 [email protected] are

mm-mlock-vmscan-no-more-skipping-pagevecs.patch