mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
vfs: remove might_sleep() from clear_inode()
Commit7994e6f725("vfs: Move waiting for inode writeback from end_writeback() to evict_inode()") removed inode_sync_wait() from end_writeback() and commitdbd5768f87("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/[email protected] Signed-off-by: Shakeel Butt <[email protected]> Cc: Alexander Viro <[email protected]> Cc: Greg Thelen <[email protected]> Cc: Jan Kara <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Johannes Weiner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
b0f7e32ca1
commit
1a60e4d516
1 changed files with 0 additions and 1 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Reference in a new issue