]> git.michaelhowe.org Git - packages/o/openafs.git/commit
vol: Remove O_EXCL|O_TRUNC combinations
authorAndrew Deason <adeason@sinenomine.net>
Thu, 10 Nov 2011 17:05:28 +0000 (11:05 -0600)
committerStephan Wiesand <stephan.wiesand@desy.de>
Tue, 26 Mar 2013 11:29:22 +0000 (04:29 -0700)
commit3f19ea5ffc3c56a342f8eb7f9c8b73eeca4d8aa6
tree9f876bc26e339bc132cfc482afffc8f8d27aca58
parent8f33982b230f87dac3856bea998015251ce2beec
vol: Remove O_EXCL|O_TRUNC combinations

A few places were specifying both O_EXCL and O_TRUNC to open().
O_TRUNC does not make any sense with O_EXCL, and doesn't do anything,
so remove O_TRUNC from these instances to make the code more clear.

Reviewed-on: http://gerrit.openafs.org/5832
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit 4c679e380f697760de777d35fe057229bf2bf762)

Change-Id: Iae79f552d17d626bbf2a7c9428bc9c7bbf91fae9
Reviewed-on: http://gerrit.openafs.org/9433
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/vol/namei_ops.c