Fix failure in opening files with O_NOATIME
authorAaron Carroll <aaronc@gelato.unsw.edu.au>
Mon, 26 Nov 2007 08:08:53 +0000 (09:08 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 26 Nov 2007 08:08:53 +0000 (09:08 +0100)
commit056f3459149a7670257350d84b49858718e4a0e6
tree3ff0b112ac582314fd8f23c5a915f68e28c9651a
parent046ee3021f5a8a951c41f6604341d26e74183df7
Fix failure in opening files with O_NOATIME

If we try to open a file with O_NOATIME and it fails, turn off
O_NOATIME and try again.  This occurs if the user does not own
the file and is unprivileged.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
filesetup.c