]> git.baikalelectronics.ru Git - kernel.git/commit
vfs: remove might_sleep() from clear_inode()
authorShakeel Butt <shakeelb@google.com>
Tue, 6 Feb 2018 23:40:59 +0000 (15:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Feb 2018 02:32:47 +0000 (18:32 -0800)
commit243ce3ef1096a5704618683abf7e94b67756ec0d
tree64344c239bafc2d25258942c3f18d62f586adffa
parentfe8b250e7dae8c263e46db4c55f03ede75621467
vfs: remove might_sleep() from clear_inode()

Commit c47b51297499 ("vfs: Move waiting for inode writeback from
end_writeback() to evict_inode()") removed inode_sync_wait() from
end_writeback() and commit ce628eed6fc7 ("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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/inode.c