vfs: remove might_sleep() from clear_inode()
authorShakeel Butt <[email protected]>
Tue, 6 Feb 2018 23:40:59 +0000 (15:40 -0800)
committerLinus Torvalds <[email protected]>
Wed, 7 Feb 2018 02:32:47 +0000 (18:32 -0800)
commit1a60e4d516defb5808967a8b42ac6675a3f05085
tree64344c239bafc2d25258942c3f18d62f586adffa
parentb0f7e32ca1a8748e8f7f355c9e31c450c2bfad2f
vfs: remove might_sleep() from clear_inode()

Commit 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/[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]>
fs/inode.c