[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DB0A1C3.6050700@oracle.com>
Date: Thu, 21 Apr 2011 14:29:39 -0700
From: Sunil Mushran <sunil.mushran@...cle.com>
To: Theodore Tso <tytso@....EDU>
CC: Josef Bacik <josef@...hat.com>, linux-kernel@...r.kernel.org,
linux-btrfs@...r.kernel.org, linux-fsdevel@...r.kernel.org,
hch@...radead.org
Subject: Re: [PATCH 1/2] fs: add SEEK_HOLE and SEEK_DATA flags
On 04/21/2011 01:45 PM, Theodore Tso wrote:
> 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
For SEEK_HOLE yes. But we could let the default SEEK_DATA be a null-op.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists