Skip to content

Commit

Permalink
PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vadlakondaswetha committed Dec 24, 2024
1 parent de7dfb4 commit 17066b2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions internal/fs/handle/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,8 @@ type FileHandle struct {
readOnly bool
}

func NewFileHandle(
inode *inode.FileInode,
fileCacheHandler *file.CacheHandler,
cacheFileForRangeRead bool,
metricHandle common.MetricHandle,
readOnly bool) (fh *FileHandle) {
// LOCKS_REQUIRED(fh.inode.mu)
func NewFileHandle(inode *inode.FileInode, fileCacheHandler *file.CacheHandler, cacheFileForRangeRead bool, metricHandle common.MetricHandle, readOnly bool) (fh *FileHandle) {
fh = &FileHandle{
inode: inode,
fileCacheHandler: fileCacheHandler,
Expand Down

0 comments on commit 17066b2

Please sign in to comment.