Killed fuseops.OpHeader.
parent
84c827f980
commit
e6f7fe6013
|
@ -105,14 +105,6 @@ func (o *commonOp) init(
|
|||
}
|
||||
}
|
||||
|
||||
func (o *commonOp) Header() OpHeader {
|
||||
bh := o.bazilReq.Hdr()
|
||||
return OpHeader{
|
||||
Uid: bh.Uid,
|
||||
Gid: bh.Gid,
|
||||
}
|
||||
}
|
||||
|
||||
func (o *commonOp) Context() context.Context {
|
||||
return o.ctx
|
||||
}
|
||||
|
|
|
@ -30,9 +30,6 @@ type Op interface {
|
|||
// A short description of the op, to be used in logging.
|
||||
ShortDesc() string
|
||||
|
||||
// Return the fields common to all operations.
|
||||
Header() OpHeader
|
||||
|
||||
// A context that can be used for long-running operations.
|
||||
Context() context.Context
|
||||
|
||||
|
|
|
@ -125,13 +125,6 @@ type HandleID uint64
|
|||
// ReadDirOp.Offset for details.
|
||||
type DirOffset uint64
|
||||
|
||||
// A header that is included with every op.
|
||||
type OpHeader struct {
|
||||
// Credentials information for the process making the request.
|
||||
Uid uint32
|
||||
Gid uint32
|
||||
}
|
||||
|
||||
// Information about a child inode within its parent directory. Shared by
|
||||
// LookUpInodeOp, MkDirOp, CreateFileOp, etc. Consumed by the kernel in order
|
||||
// to set up a dcache entry.
|
||||
|
|
Loading…
Reference in New Issue