projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c26c4e
)
nilfs2: fix using of PageLocked() in nilfs_clear_dirty_page()
author
Vyacheslav Dubeyko
<slava@dubeyko.com>
Tue, 30 Apr 2013 22:27:50 +0000
(15:27 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 1 May 2013 00:04:04 +0000
(17:04 -0700)
Change test_bit(PG_locked, &page->flags) to PageLocked().
Signed-off-by: Vyacheslav Dubeyko <slava@dubeyko.com>
Cc: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nilfs2/page.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nilfs2/page.c
b/fs/nilfs2/page.c
index 131a5841a0701bb7b61a2cb8dae853f7f4aea08f..0ba679866e504ec126720f3eb7b78e210703f538 100644
(file)
--- a/
fs/nilfs2/page.c
+++ b/
fs/nilfs2/page.c
@@
-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__,