]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
nfs-utils: specify a create mode with open(...O_CREAT) call in xflock
authorJeff Layton <jlayton@redhat.com>
Tue, 7 Aug 2007 12:01:08 +0000 (08:01 -0400)
committerNeil Brown <neilb@suse.de>
Thu, 9 Aug 2007 03:26:42 +0000 (13:26 +1000)
The xflock function can create a file via open() with O_CREAT, but does
not specify the create mode when it does so. I think 0644 should be
appropriate given the current usage of this function.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Neil Brown <neilb@suse.de>

No differences found