mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Remove InodeOperations FIXMEs that will be obsoleted by VFS2.
PiperOrigin-RevId: 305588941
This commit is contained in:
@@ -710,13 +710,10 @@ func init() {
|
||||
}
|
||||
|
||||
// AddLink implements InodeOperations.AddLink, but is currently a noop.
|
||||
// FIXME(b/63117438): Remove this from InodeOperations altogether.
|
||||
func (*inodeOperations) AddLink() {}
|
||||
|
||||
// DropLink implements InodeOperations.DropLink, but is currently a noop.
|
||||
// FIXME(b/63117438): Remove this from InodeOperations altogether.
|
||||
func (*inodeOperations) DropLink() {}
|
||||
|
||||
// NotifyStatusChange implements fs.InodeOperations.NotifyStatusChange.
|
||||
// FIXME(b/63117438): Remove this from InodeOperations altogether.
|
||||
func (i *inodeOperations) NotifyStatusChange(ctx context.Context) {}
|
||||
|
||||
@@ -397,15 +397,12 @@ func (i *inodeOperations) StatFS(context.Context) (fs.Info, error) {
|
||||
}
|
||||
|
||||
// AddLink implements fs.InodeOperations.AddLink.
|
||||
// FIXME(b/63117438): Remove this from InodeOperations altogether.
|
||||
func (i *inodeOperations) AddLink() {}
|
||||
|
||||
// DropLink implements fs.InodeOperations.DropLink.
|
||||
// FIXME(b/63117438): Remove this from InodeOperations altogether.
|
||||
func (i *inodeOperations) DropLink() {}
|
||||
|
||||
// NotifyStatusChange implements fs.InodeOperations.NotifyStatusChange.
|
||||
// FIXME(b/63117438): Remove this from InodeOperations altogether.
|
||||
func (i *inodeOperations) NotifyStatusChange(ctx context.Context) {}
|
||||
|
||||
// readdirAll returns all of the directory entries in i.
|
||||
|
||||
@@ -397,8 +397,6 @@ func (i *Inode) Getlink(ctx context.Context) (*Dirent, error) {
|
||||
// AddLink calls i.InodeOperations.AddLink.
|
||||
func (i *Inode) AddLink() {
|
||||
if i.overlay != nil {
|
||||
// FIXME(b/63117438): Remove this from InodeOperations altogether.
|
||||
//
|
||||
// This interface is only used by ramfs to update metadata of
|
||||
// children. These filesystems should _never_ have overlay
|
||||
// Inodes cached as children. So explicitly disallow this
|
||||
|
||||
Reference in New Issue
Block a user