OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3813-gaaa2584
Gerrit Code Review
gerrit@openafs.org
Thu, 20 Jun 2013 05:24:39 -0700 (PDT)
The following commit has been merged in the master branch:
commit aaa2584c0498037529a30c985ac8a437ec7d842c
Author: Andrew Deason <adeason@sinenomine.net>
Date: Thu May 30 17:53:56 2013 -0500
namei: Create the IH_CREATE_INIT function
Create a new function that combines calls to IH_CREATE and IH_INIT
into one operation; the new function is called IH_CREATE_INIT. This
allows a caller to create a file and then use it, without needing to
open() the file twice.
This is currently only implemented for the Unix namei backend; other
backends result in effectively the same functionality (but can use the
same API).
Change-Id: I93d531a9892beeb0c1ceac18458cbe0f1e3a0ded
Reviewed-on: http://gerrit.openafs.org/9969
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: Derrick Brashear <shadow@your-file-system.com>
src/vol/ihandle.c | 17 +++++++++++++++
src/vol/ihandle.h | 7 ++++++
src/vol/namei_ops.c | 58 +++++++++++++++++++++++++++++++++++++++++++++-----
src/vol/namei_ops.h | 3 ++
4 files changed, 79 insertions(+), 6 deletions(-)
--
OpenAFS Master Repository