diff options
Diffstat (limited to 'fs/ntfs/inode.c')
-rw-r--r-- | fs/ntfs/inode.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/ntfs/inode.c b/fs/ntfs/inode.c index d284f07eda77..f40972d6df90 100644 --- a/fs/ntfs/inode.c +++ b/fs/ntfs/inode.c | |||
@@ -868,12 +868,12 @@ skip_attr_list_load: | |||
868 | ni->itype.index.block_size); | 868 | ni->itype.index.block_size); |
869 | goto unm_err_out; | 869 | goto unm_err_out; |
870 | } | 870 | } |
871 | if (ni->itype.index.block_size > PAGE_CACHE_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_CACHE_SIZE); | 876 | PAGE_SIZE); |
877 | err = -EOPNOTSUPP; | 877 | err = -EOPNOTSUPP; |
878 | goto unm_err_out; | 878 | goto unm_err_out; |
879 | } | 879 | } |
@@ -1585,10 +1585,10 @@ static int ntfs_read_locked_index_inode(struct inode *base_vi, struct inode *vi) | |||
1585 | "two.", ni->itype.index.block_size); | 1585 | "two.", ni->itype.index.block_size); |
1586 | goto unm_err_out; | 1586 | goto unm_err_out; |
1587 | } | 1587 | } |
1588 | if (ni->itype.index.block_size > PAGE_CACHE_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_CACHE_SIZE); | 1591 | ni->itype.index.block_size, PAGE_SIZE); |
1592 | err = -EOPNOTSUPP; | 1592 | err = -EOPNOTSUPP; |
1593 | goto unm_err_out; | 1593 | goto unm_err_out; |
1594 | } | 1594 | } |