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:  					ni->itype.index.block_size);  			goto unm_err_out;  		} -		if (ni->itype.index.block_size > PAGE_CACHE_SIZE) { +		if (ni->itype.index.block_size > PAGE_SIZE) {  			ntfs_error(vi->i_sb, "Index block size (%u) > " -					"PAGE_CACHE_SIZE (%ld) is not " +					"PAGE_SIZE (%ld) is not "  					"supported.  Sorry.",  					ni->itype.index.block_size, -					PAGE_CACHE_SIZE); +					PAGE_SIZE);  			err = -EOPNOTSUPP;  			goto unm_err_out;  		} @@ -1585,10 +1585,10 @@ static int ntfs_read_locked_index_inode(struct inode *base_vi, struct inode *vi)  				"two.", ni->itype.index.block_size);  		goto unm_err_out;  	} -	if (ni->itype.index.block_size > PAGE_CACHE_SIZE) { -		ntfs_error(vi->i_sb, "Index block size (%u) > PAGE_CACHE_SIZE " +	if (ni->itype.index.block_size > PAGE_SIZE) { +		ntfs_error(vi->i_sb, "Index block size (%u) > PAGE_SIZE "  				"(%ld) is not supported.  Sorry.", -				ni->itype.index.block_size, PAGE_CACHE_SIZE); +				ni->itype.index.block_size, PAGE_SIZE);  		err = -EOPNOTSUPP;  		goto unm_err_out;  	} | 
