Skip to content

Commit

Permalink
Make storage ID mismatch non-fatal.
Browse files Browse the repository at this point in the history
  • Loading branch information
hanwen committed Jun 14, 2012
1 parent 6a25906 commit 154c1a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (fs *DeviceFs) newFolder(id uint32, ds *DeviceStorage) *folderNode {

func (fs *DeviceFs) newFile(file *File, store *DeviceStorage) *fileNode {
if file.StorageId() != store.Id() {
log.Logf("storage mismatch file %s on %d, parent storage %d",
log.Printf("storage mismatch file %s on %d, parent storage %d",
file.Name(), file.StorageId(), store.Id())
}
n := &fileNode{
Expand Down

0 comments on commit 154c1a4

Please sign in to comment.