]> git.michaelhowe.org Git - packages/o/openafs.git/commit
namei: Create the IH_CREATE_INIT function
authorAndrew Deason <adeason@sinenomine.net>
Thu, 30 May 2013 22:53:56 +0000 (17:53 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Tue, 24 Sep 2013 12:41:02 +0000 (05:41 -0700)
commit93c574365cf5926e1640f25d39f311fa9868e763
tree2f652c9f8b67171111b0dae469f1c53a4baafc39
parent2c619d2105ed3d0846640a48c0c4a8d687691c8d
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).

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>
(cherry picked from commit aaa2584c0498037529a30c985ac8a437ec7d842c)

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