Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jacobsa-fuse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
jacobsa-fuse
Commits
d611ddfa
Commit
d611ddfa
authored
Mar 24, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed build errors.
parent
9aff9a66
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
fuseops/ops.go
fuseops/ops.go
+18
-18
fuseops/simple_types.go
fuseops/simple_types.go
+1
-1
No files found.
fuseops/ops.go
View file @
d611ddfa
...
...
@@ -27,7 +27,7 @@ import (
// Sent once when mounting the file system. It must succeed in order for the
// mount to succeed.
type
InitOp
struct
{
Header
Request
Header
Header
Op
Header
}
////////////////////////////////////////////////////////////////////////
...
...
@@ -37,7 +37,7 @@ type InitOp struct {
// Look up a child by name within a parent directory. The kernel sends this
// when resolving user paths to dentry structs, which are then cached.
type
LookUpInodeOp
struct
{
Header
Request
Header
Header
Op
Header
// The ID of the directory inode to which the child belongs.
Parent
InodeID
...
...
@@ -62,7 +62,7 @@ type LookUpInodeOp struct {
// inode attributes is stale. This is controlled by the AttributesExpiration
// field of ChildInodeEntry, etc.
type
GetInodeAttributesOp
struct
{
Header
Request
Header
Header
Op
Header
// The inode of interest.
Inode
InodeID
...
...
@@ -79,7 +79,7 @@ type GetInodeAttributesOp struct {
// The kernel sends this for obvious cases like chmod(2), and for less obvious
// cases like ftrunctate(2).
type
SetInodeAttributesOp
struct
{
Header
Request
Header
Header
Op
Header
// The inode of interest.
Inode
InodeID
...
...
@@ -100,7 +100,7 @@ type SetInodeAttributesOp struct {
// Forget an inode ID previously issued (e.g. by LookUpInode or MkDir). The
// kernel sends this when removing an inode from its internal caches.
type
ForgetInodeOp
struct
{
Header
Request
Header
Header
Op
Header
// The inode to be forgotten. The kernel guarantees that the node ID will not
// be used in further calls to the file system (unless it is reissued by the
...
...
@@ -120,7 +120,7 @@ type ForgetInodeOp struct {
// http://goo.gl/FZpLu5). But volatile file systems and paranoid non-volatile
// file systems should check for the reasons described below on CreateFile.
type
MkDirOp
struct
{
Header
Request
Header
Header
Op
Header
// The ID of parent directory inode within which to create the child.
Parent
InodeID
...
...
@@ -147,7 +147,7 @@ type MkDirOp struct {
// course particularly applies to file systems that are volatile from the
// kernel's point of view.
type
CreateFileOp
struct
{
Header
Request
Header
Header
Op
Header
// The ID of parent directory inode within which to create the child file.
Parent
InodeID
...
...
@@ -185,7 +185,7 @@ type CreateFileOp struct {
//
// Sample implementation in ext2: ext2_rmdir (http://goo.gl/B9QmFf)
type
RmDirOp
struct
{
Header
Request
Header
Header
Op
Header
// The ID of parent directory inode, and the name of the directory being
// removed within it.
...
...
@@ -199,7 +199,7 @@ type RmDirOp struct {
//
// Sample implementation in ext2: ext2_unlink (http://goo.gl/hY6r6C)
type
UnlinkOp
struct
{
Header
Request
Header
Header
Op
Header
// The ID of parent directory inode, and the name of the file being removed
// within it.
...
...
@@ -218,7 +218,7 @@ type UnlinkOp struct {
// user-space process. On OS X it may not be sent for every open(2) (cf.
// https://github.com/osxfuse/osxfuse/issues/199).
type
OpenDirOp
struct
{
Header
Request
Header
Header
Op
Header
// The ID of the inode to be opened.
Inode
InodeID
...
...
@@ -239,7 +239,7 @@ type OpenDirOp struct {
// Read entries from a directory previously opened with OpenDir.
type
ReadDirOp
struct
{
Header
Request
Header
Header
Op
Header
// The directory inode that we are reading, and the handle previously
// returned by OpenDir when opening that inode.
...
...
@@ -334,7 +334,7 @@ type ReadDirOp struct {
// The kernel guarantees that the handle ID will not be used in further ops
// sent to the file system (unless it is reissued by the file system).
type
ReleaseDirHandleOp
struct
{
Header
Request
Header
Header
Op
Header
// The handle ID to be released. The kernel guarantees that this ID will not
// be used in further calls to the file system (unless it is reissued by the
...
...
@@ -353,7 +353,7 @@ type ReleaseDirHandleOp struct {
// process. On OS X it may not be sent for every open(2)
// (cf.https://github.com/osxfuse/osxfuse/issues/199).
type
OpenFileOp
struct
{
Header
Request
Header
Header
Op
Header
// The ID of the inode to be opened.
Inode
InodeID
...
...
@@ -377,7 +377,7 @@ type OpenFileOp struct {
// some reads may be served by the page cache. See notes on WriteFileOp for
// more.
type
ReadFileOp
struct
{
Header
Request
Header
Header
Op
Header
// The file inode that we are reading, and the handle previously returned by
// CreateFile or OpenFile when opening that inode.
...
...
@@ -429,7 +429,7 @@ type ReadFileOp struct {
// flush request.
//
type
WriteFileOp
struct
{
Header
Request
Header
Header
Op
Header
// The file inode that we are modifying, and the handle previously returned
// by CreateFile or OpenFile when opening that inode.
...
...
@@ -484,7 +484,7 @@ type WriteFileOp struct {
// See also: FlushFileOp, which may perform a similar function when closing a
// file (but which is not used in "real" file systems).
type
SyncFileOp
struct
{
Header
Request
Header
Header
Op
Header
// The file and handle being sync'd.
Inode
InodeID
...
...
@@ -539,7 +539,7 @@ type SyncFileOp struct {
// to at least schedule a real flush, and maybe do it immediately in order to
// return any errors that occur.
type
FlushFileOp
struct
{
Header
Request
Header
Header
Op
Header
// The file and handle being flushed.
Inode
InodeID
...
...
@@ -553,7 +553,7 @@ type FlushFileOp struct {
// The kernel guarantees that the handle ID will not be used in further calls
// to the file system (unless it is reissued by the file system).
type
ReleaseFileHandleOp
struct
{
Header
Request
Header
Header
Op
Header
// The handle ID to be released. The kernel guarantees that this ID will not
// be used in further calls to the file system (unless it is reissued by the
...
...
fuseops/simple_types.go
View file @
d611ddfa
...
...
@@ -126,7 +126,7 @@ type HandleID uint64
type
DirOffset
uint64
// A header that is included with every op.
type
Header
struct
{
type
Op
Header
struct
{
// Credentials information for the process making the request.
Uid
uint32
Gid
uint32
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment