[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH 1/6] xstat: Add a pair of system calls to make extended file stats available
From:       Andreas Dilger <adilger () dilger ! ca>
Date:       2012-04-27 3:11:21
Message-ID: 066E4E15-FE60-4D1C-9616-4679EE700CF6 () dilger ! ca
[Download RAW message or body]

On 2012-04-26, at 6:51 PM, Dave Chinner wrote:
> On Thu, Apr 26, 2012 at 02:32:36PM +0100, David Howells wrote:
> > I wonder if there's a way to make this explicit - or is it something that if the \
> > bit isn't set, you can't use the value in st_blksize. I wonder if this value \
> > always has to be non-zero to make sure existing stat() doesn't explode.
> 
> More likely it probably needs to be non-zero to prevent applications
> doing division by block size from exploding... ;)

Right, and any application which knows it needs the blocksize should
also be requesting it when using the statxat() (or whatever) syscall.

Cheers, Andreas


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic