mirror of https://github.com/perkeep/perkeep.git
fuse: remove dead code, implemented already elsewhere.
Change-Id: I177ac8338aba45a798abfd08964f8184b19224d5
This commit is contained in:
parent
f70c2e12c0
commit
aa65743b58
|
@ -639,21 +639,6 @@ func (c *Conn) ReadRequest() (Request, error) {
|
|||
panic("opGetxtimes")
|
||||
case opExchange:
|
||||
panic("opExchange")
|
||||
|
||||
/*
|
||||
case opUnlink:
|
||||
if n == 0 || buf[n-1] != '\x00' {
|
||||
goto corrupt
|
||||
}
|
||||
return &Unlink{Header: *hdr, Name: string(buf[:n-1])}, nil
|
||||
|
||||
case opRmdir:
|
||||
if n == 0 || buf[n-1] != '\x00' {
|
||||
goto corrupt
|
||||
}
|
||||
return &Rmdir{Header: *hdr, Name: string(buf[:n-1])}, nil
|
||||
...
|
||||
*/
|
||||
}
|
||||
|
||||
return req, nil
|
||||
|
|
Loading…
Reference in New Issue