Skip to content

Commit

Permalink
InodeWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyongxuan committed Oct 22, 2024
1 parent 4393065 commit 9932bb4
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions rafs/src/metadata/inode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,7 @@ impl InodeWrapper {
match self {
InodeWrapper::V5(i) => i.is_blkdev(),
InodeWrapper::V6(i) => i.is_blkdev(),
// InodeWrapper::Ref(_i) => unimplemented!(),
// TODO: Just Indentify that prefetch node is not
// block device
InodeWrapper::Ref(_) => false,
InodeWrapper::Ref(_i) => unimplemented!(),
}
}

Expand All @@ -178,10 +175,7 @@ impl InodeWrapper {
match self {
InodeWrapper::V5(i) => i.is_fifo(),
InodeWrapper::V6(i) => i.is_fifo(),
// TODO: Just Indentify that prefetch node is not
// A fifo
InodeWrapper::Ref(_) => false,
// InodeWrapper::Ref(_i) => unimplemented!(),
InodeWrapper::Ref(_i) => unimplemented!(),
}
}

Expand Down

0 comments on commit 9932bb4

Please sign in to comment.