diff options
author | Shehjar Tikoo <shehjart@zresearch.com> | 2009-04-07 05:36:57 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-08 15:05:55 +0530 |
commit | 957ae7ba2ba7b8276dab963b7af7dbf16eeb5888 (patch) | |
tree | ebfeb22b18aa80429d1f73ad05318373a279c40d /mod_glusterfs/lighttpd | |
parent | d4ab91b1f254a21cac538fdffa7ff37db10ae83c (diff) |
libglusterfsclient: Perform explicit create
We must create the file based on the O_CREATE in the flags
instead of depending on the return status of the lookup.
This works because we've already handled O_EXCL earlier and
also handled a missing file(ENOENT)
in case this was actually an open and not create.
Adapted from Raghu's original patch.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'mod_glusterfs/lighttpd')
0 files changed, 0 insertions, 0 deletions