diff options
Diffstat (limited to 'fs/nilfs2')
-rw-r--r-- | fs/nilfs2/page.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/page.c b/fs/nilfs2/page.c index 131a5841a070..0ba679866e50 100644 --- a/fs/nilfs2/page.c +++ b/fs/nilfs2/page.c | |||
@@ -407,7 +407,7 @@ void nilfs_clear_dirty_page(struct page *page, bool silent) | |||
407 | struct inode *inode = page->mapping->host; | 407 | struct inode *inode = page->mapping->host; |
408 | struct super_block *sb = inode->i_sb; | 408 | struct super_block *sb = inode->i_sb; |
409 | 409 | ||
410 | BUG_ON(!test_bit(PG_locked, &page->flags)); | 410 | BUG_ON(!PageLocked(page)); |
411 | 411 | ||
412 | if (!silent) { | 412 | if (!silent) { |
413 | nilfs_warning(sb, __func__, | 413 | nilfs_warning(sb, __func__, |