From: Jeff Layton Date: Tue, 7 Aug 2007 12:01:08 +0000 (-0400) Subject: nfs-utils: specify a create mode with open(...O_CREAT) call in xflock X-Git-Tag: nfs-utils-1-1-1~84 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;ds=sidebyside;h=ff82d8688cd096f3983532e8aa5cbfe46780d45a;hp=ff82d8688cd096f3983532e8aa5cbfe46780d45a;p=nfs-utils.git nfs-utils: specify a create mode with open(...O_CREAT) call in xflock 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 Signed-off-by: Neil Brown ---