raw-posix: always store open flags
commit0e1d8f4c549e51fd19793a154862979fdc199477
authorChristoph Hellwig <hch@lst.de>
Mon, 15 Jun 2009 11:53:26 +0000 (15 13:53 +0200)
committerChristoph Hellwig <hch@brick.lst.de>
Mon, 15 Jun 2009 11:53:26 +0000 (15 13:53 +0200)
treeb4d9277c3f2340044bcb844ec5682c703df9442e
parent986c28d655dc9196c9c426c667c1764bd3d6d5bd
raw-posix: always store open flags

Both the Linux floppy and the FreeBSD CDROM host device need to store
the open flags so that they can re-open the device later.  Store the
open flags unconditionally to remove the ifdef mess and simply the
calling conventions for the later patches in the series.

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/raw-posix.c