Re: [PATCH 1/2] fs: add SEEK_HOLE and SEEK_DATA flags

From: Theodore Tso
Date: Thu Apr 21 2011 - 17:03:31 EST



On Apr 21, 2011, at 3:42 PM, Josef Bacik wrote:

> + case SEEK_DATA:
> + case SEEK_HOLE:
> + return -EINVAL;
> }

Maybe we should be returning EOPNOTSUPP?

-- Ted

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/