diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2016-04-01 08:29:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-04-04 13:41:08 -0400 |
commit | ea1754a084760e68886f5b725c8eaada9cc57155 (patch) | |
tree | 2e14936a959a661ee68d4490cb9b82b94bb27ab9 /fs/ntfs/inode.c | |
parent | 09cbfeaf1a5a67bfb3201e0c83c810cecb2efa5a (diff) |
mm, fs: remove remaining PAGE_CACHE_* and page_cache_{get,release} usage
Mostly direct substitution with occasional adjustment or removing
outdated comments.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ntfs/inode.c')
-rw-r--r-- | fs/ntfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ntfs/inode.c b/fs/ntfs/inode.c index 3eda6d4bcc65..f40972d6df90 100644 --- a/fs/ntfs/inode.c +++ b/fs/ntfs/inode.c | |||
@@ -870,7 +870,7 @@ skip_attr_list_load: | |||
870 | } | 870 | } |
871 | if (ni->itype.index.block_size > PAGE_SIZE) { | 871 | if (ni->itype.index.block_size > PAGE_SIZE) { |
872 | ntfs_error(vi->i_sb, "Index block size (%u) > " | 872 | ntfs_error(vi->i_sb, "Index block size (%u) > " |
873 | "PAGE_CACHE_SIZE (%ld) is not " | 873 | "PAGE_SIZE (%ld) is not " |
874 | "supported. Sorry.", | 874 | "supported. Sorry.", |
875 | ni->itype.index.block_size, | 875 | ni->itype.index.block_size, |
876 | PAGE_SIZE); | 876 | PAGE_SIZE); |
@@ -1586,7 +1586,7 @@ static int ntfs_read_locked_index_inode(struct inode *base_vi, struct inode *vi) | |||
1586 | goto unm_err_out; | 1586 | goto unm_err_out; |
1587 | } | 1587 | } |
1588 | if (ni->itype.index.block_size > PAGE_SIZE) { | 1588 | if (ni->itype.index.block_size > PAGE_SIZE) { |
1589 | ntfs_error(vi->i_sb, "Index block size (%u) > PAGE_CACHE_SIZE " | 1589 | ntfs_error(vi->i_sb, "Index block size (%u) > PAGE_SIZE " |
1590 | "(%ld) is not supported. Sorry.", | 1590 | "(%ld) is not supported. Sorry.", |
1591 | ni->itype.index.block_size, PAGE_SIZE); | 1591 | ni->itype.index.block_size, PAGE_SIZE); |
1592 | err = -EOPNOTSUPP; | 1592 | err = -EOPNOTSUPP; |