Loading fs/xfs/xfs_file.c +2 −2 Original line number Diff line number Diff line Loading @@ -837,7 +837,7 @@ xfs_file_fallocate( unsigned blksize_mask = (1 << inode->i_blkbits) - 1; if (offset & blksize_mask || len & blksize_mask) { error = -EINVAL; error = EINVAL; goto out_unlock; } Loading @@ -846,7 +846,7 @@ xfs_file_fallocate( * in which case it is effectively a truncate operation */ if (offset + len >= i_size_read(inode)) { error = -EINVAL; error = EINVAL; goto out_unlock; } Loading Loading
fs/xfs/xfs_file.c +2 −2 Original line number Diff line number Diff line Loading @@ -837,7 +837,7 @@ xfs_file_fallocate( unsigned blksize_mask = (1 << inode->i_blkbits) - 1; if (offset & blksize_mask || len & blksize_mask) { error = -EINVAL; error = EINVAL; goto out_unlock; } Loading @@ -846,7 +846,7 @@ xfs_file_fallocate( * in which case it is effectively a truncate operation */ if (offset + len >= i_size_read(inode)) { error = -EINVAL; error = EINVAL; goto out_unlock; } Loading