diff options
Diffstat (limited to 'fs/xfs/xfs_file.c')
| -rw-r--r-- | fs/xfs/xfs_file.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index 6526ef0e2a23..18146873a8b3 100644 --- a/fs/xfs/xfs_file.c +++ b/fs/xfs/xfs_file.c @@ -984,7 +984,7 @@ xfs_file_readdir(  	 * point we can change the ->readdir prototype to include the  	 * buffer size.  For now we use the current glibc buffer size.  	 */ -	bufsize = (size_t)min_t(loff_t, 32768, ip->i_d.di_size); +	bufsize = (size_t)min_t(loff_t, XFS_READDIR_BUFSIZE, ip->i_d.di_size);  	return xfs_readdir(NULL, ip, ctx, bufsize);  }  | 
