Note that Mount errors do not require translations

PiperOrigin-RevId: 204490639
Change-Id: I0fe26306bae9320c6aa4f854fe0ef25eebd93233
This commit is contained in:
Michael Pratt
2018-07-13 10:24:18 -07:00
committed by Shentubot
parent a28b274abb
commit f09ebd9c71
+2
View File
@@ -48,6 +48,8 @@ type Filesystem interface {
// Mount generates a mountable Inode backed by device and configured
// using file system independent flags and file system dependent
// data options.
//
// Mount may return arbitrary errors. They do not need syserr translations.
Mount(ctx context.Context, device string, flags MountSourceFlags, data string) (*Inode, error)
// AllowUserMount determines whether mount(2) is allowed to mount a