public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] use generic_file_llseek for directories
       [not found] <20080814204817.GA19614@lst.de>
@ 2008-09-12  8:47 ` Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2008-09-12  8:47 UTC (permalink / raw)
  To: xfs

On Thu, Aug 14, 2008 at 10:48:17PM +0200, Christoph Hellwig wrote:
> XFS currently doesn't set up a .llseek for directories and thus defaults
> to default_llseek.  default_llseek only takes the BKL which means there
> is not exclusion vs xfs_readdir and thus we get a risk of corrupting
> the file position.  Additionally default_llseek only allows seeks to
> 32bit offsets by default.

Al put this change into mainline as part of fixing up various
filesystems in the meantime.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-12  8:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20080814204817.GA19614@lst.de>
2008-09-12  8:47 ` [PATCH] use generic_file_llseek for directories Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox