VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> 2016-04-01 15:29:47 +0300 committer: Linus Torvalds <torvalds@linux-foundation.org> 2016-04-04 10:41:08 -0700 commit: 09cbfeaf1a5a67bfb3201e0c83c810cecb2efa5a parent: c05c2ec96bb8b7310da1055c7b9d786a3ec6dc0c
Commit Summary:
mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c
index de73a9516a54..435f0b26ac20 100644
--- a/fs/jbd2/journal.c
+++ b/fs/jbd2/journal.c
@@ -2221,7 +2221,7 @@ void jbd2_journal_ack_err(journal_t *journal)
 
 int jbd2_journal_blocks_per_page(struct inode *inode)
 {
-	return 1 << (PAGE_CACHE_SHIFT - inode->i_sb->s_blocksize_bits);
+	return 1 << (PAGE_SHIFT - inode->i_sb->s_blocksize_bits);
 }
 
 /*