seaweedfs/weed/mount
chrislu dc204dd137 fix nil entry
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x1d340b4]

goroutine 130523 [running]:
github.com/chrislusf/seaweedfs/weed/filer.FileSize(...)
        /code/seaweedfs/weed/filer/filechunks.go:26
github.com/chrislusf/seaweedfs/weed/mount.(*WFS).Lookup(0xc000866d80, 0x1, 0xc002897f40, {0xc004b00980, 0x39}, 0x1ec19e0)
        /code/seaweedfs/weed/mount/weedfs_dir_lookup.go:59 +0x654
github.com/hanwen/go-fuse/v2/fuse.doLookup(0xc00033c000, 0xc00033c000)
        /code/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/fuse/opcode.go:333 +0x6b
github.com/hanwen/go-fuse/v2/fuse.(*Server).handleRequest(0xc000ab2420, 0xc00033c000)
        /code/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/fuse/server.go:483 +0x1f3
github.com/hanwen/go-fuse/v2/fuse.(*Server).loop(0xc000ab2420, 0x0)
        /code/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/fuse/server.go:456 +0x110
created by github.com/hanwen/go-fuse/v2/fuse.(*Server).readRequest
        /code/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/fuse/server.go:323 +0x534
2022-03-08 23:02:30 -08:00
..
meta_cache mount: add back support for filer.path 2022-02-28 12:16:53 -08:00
page_writer ensure releasing file handle 2022-03-07 14:01:24 -08:00
unmount fix GOOS 2022-02-14 03:14:05 -08:00
dirty_pages_chunked.go remove dead code 2022-02-27 03:03:19 -08:00
filehandle.go ensure releasing file handle 2022-03-07 14:01:24 -08:00
filehandle_map.go ensure releasing file handle 2022-03-07 14:01:24 -08:00
filehandle_read.go use file size as max range 2022-02-26 03:00:08 -08:00
inode_to_path.go mount: add back support for filer.path 2022-02-28 12:16:53 -08:00
page_writer.go remove dead code 2022-02-27 03:03:19 -08:00
weedfs.go mount: quota for one mounted collection 2022-03-06 02:44:40 -08:00
weedfs_attr.go mount: quota adjust error type to be syscall.ENOSPC 2022-03-06 17:04:21 -08:00
weedfs_attr_darwin.go can attr root directory 2022-02-12 01:54:16 -08:00
weedfs_attr_linux.go can attr root directory 2022-02-12 01:54:16 -08:00
weedfs_dir_lookup.go fix nil entry 2022-03-08 23:02:30 -08:00
weedfs_dir_mkrm.go mount: quota adjust error type to be syscall.ENOSPC 2022-03-06 17:04:21 -08:00
weedfs_dir_read.go mount: fix directory pagination when using midnight commander 2022-03-03 02:59:31 -08:00
weedfs_file_io.go add todo 2022-02-18 00:47:15 -08:00
weedfs_file_mkrm.go mount: quota adjust error type to be syscall.ENOSPC 2022-03-06 17:04:21 -08:00
weedfs_file_read.go support read 2022-02-13 22:50:44 -08:00
weedfs_file_sync.go mount: quota adjust error type to be syscall.ENOSPC 2022-03-06 17:04:21 -08:00
weedfs_file_write.go mount: quota adjust error type to be syscall.ENOSPC 2022-03-06 17:04:21 -08:00
weedfs_filehandle.go file set attribute 2022-02-14 01:36:10 -08:00
weedfs_forget.go release file handle 2022-02-28 01:23:14 -08:00
weedfs_link.go mount: quota adjust error type to be syscall.ENOSPC 2022-03-06 17:04:21 -08:00
weedfs_quota.go mount: quota for one mounted collection 2022-03-06 02:44:40 -08:00
weedfs_rename.go mount: quota adjust error type to be syscall.ENOSPC 2022-03-06 17:04:21 -08:00
weedfs_stats.go mount: adjust disk space based on quota 2022-03-06 17:22:49 -08:00
weedfs_symlink.go mount: quota adjust error type to be syscall.ENOSPC 2022-03-06 17:04:21 -08:00
weedfs_unsupported.go fix import 2022-02-13 04:23:06 -08:00
weedfs_write.go support read 2022-02-13 22:50:44 -08:00
weedfs_xattr.go mount: quota adjust error type to be syscall.ENOSPC 2022-03-06 17:04:21 -08:00
wfs_filer_client.go supports stats 2022-02-10 23:23:47 -08:00
wfs_save.go add mkdir 2022-02-13 01:34:19 -08:00