commit | 90babde0cad8a485e5f74a2113c0425c08395a47 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Jun 15 13:53:38 2009 +0200 |
committer | Christoph Hellwig <hch@brick.lst.de> | Mon Jun 15 13:53:38 2009 +0200 |
tree | 31ac0562b0dbdbe64bbd00448c5392ef38dfe9a3 | |
parent | 0e1d8f4c549e51fd19793a154862979fdc199477 [diff] |
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 <hch@lst.de>