/* We may be able to do a better job with this if there were some way to declare that a file should be sparse.  */
static int cifs_write_timeout(struct cifsInodeInfo *cifsi, loff_t offset)
/* We may be able to do a better job with this if there were some way to declare that a file should be sparse.  */
static int cifs_write_timeout(struct cifsInodeInfo *cifsi, loff_t offset)
{
	if (offset <= cifsi->server_eof)
		return CIFS_STD_OP;
	else if (offset > (cifsi->server_eof + (10 * 1024 * 1024)))
		return CIFS_VLONG_OP;
	else
		return CIFS_LONG_OP;
}