]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Clean up usage of open()
authorDoug Ledford <dledford@redhat.com>
Thu, 24 Jul 2008 22:35:11 +0000 (18:35 -0400)
committerDoug Ledford <dledford@redhat.com>
Thu, 24 Jul 2008 22:35:11 +0000 (18:35 -0400)
commitfb97b4d691c04d9303571d7eba3cef4a97264e2f
treef2ecbee4bd0d262c6a92ac631c642458921f1d8b
parent0bc38b50205db04cd842c5009467a57b1ee1c293
Clean up usage of open()
Fix on call that passed an invalid mode to open
Don't pass a third arg unless we also pass O_CREAT
Use symbolic args for 2nd and 3rd args

Signed-off-by: Doug Ledford <dledford@redhat.com>
Create.c
Detail.c
Grow.c
Monitor.c
Query.c
mdassemble.c
mdopen.c