« Previous | Next » 

Revision 90babde0

ID90babde0cad8a485e5f74a2113c0425c08395a47

Added by Christoph Hellwig almost 15 years ago

raw-posix: add a raw_open_common helper

raw_open and hdev_open contain the same basic logic. Add a new
raw_open_common helper containing the guts of the open routine
and call it from raw_open and hdev_open.

We use the new open_flags field in BDRVRawState to allow passing
additional open flags to raw_open_common from both.

Signed-off-by: Christoph Hellwig <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences