Use O_EXCL when opening component devices to be assembled into an array
authorNeil Brown <neilb@suse.de>
Mon, 4 Apr 2005 06:02:49 +0000 (06:02 +0000)
committerNeil Brown <neilb@suse.de>
Mon, 4 Apr 2005 06:02:49 +0000 (06:02 +0000)
commitd7eaf49f65ecb99e24255026331b0af7a9245cc2
tree1a360f741fc0698f0d766a386eab68ee3b94ee65
parentb568741513da4cc6284815345473f67f7cdee1df
Use O_EXCL when opening component devices to be assembled into an array

In 2.6, this will fail if the device is already in use, so we can detect this error
more easily.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Assemble.c
ChangeLog
Create.c
Kill.c
Manage.c