mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
nilfs2: fix using of PageLocked() in nilfs_clear_dirty_page()
Change test_bit(PG_locked, &page->flags) to PageLocked(). Signed-off-by: Vyacheslav Dubeyko <[email protected]> Cc: Ryusuke Konishi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
8c26c4e269
commit
dc33f5f3c9
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ void nilfs_clear_dirty_page(struct page *page, bool silent)
|
|||
struct inode *inode = page->mapping->host;
|
||||
struct super_block *sb = inode->i_sb;
|
||||
|
||||
BUG_ON(!test_bit(PG_locked, &page->flags));
|
||||
BUG_ON(!PageLocked(page));
|
||||
|
||||
if (!silent) {
|
||||
nilfs_warning(sb, __func__,
|
||||
|
|
|
|||
Loading…
Reference in a new issue