]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Kill.c
Kill: Don't use O_EXCL when --force is used.
authorNeilBrown <neilb@suse.de>
Thu, 18 Dec 2008 03:04:45 +0000 (14:04 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 18 Dec 2008 03:04:45 +0000 (14:04 +1100)
commit22eba5121632c4b26541fbb04209a90b93c24bcc
treee3fc1f341d7e8d4418b32dcf171aa12ab344482e
parent504fb2e7f35884745d3f40ad037f42b4a515f33b
Kill:  Don't use O_EXCL when --force is used.

We really want --zero-super --force to zero the superblock in
all situations.  So don't open with O_EXCL - trust the user.

Signed-off-by: NeilBrown <neilb@suse.de>
Kill.c