Hi,
A minor correction, include the vnode type just like ffs_read() does
when it encounters an unsupported type and panics.

Comments? OK?

Index: ffs_vnops.c
===================================================================
RCS file: /cvs/src/sys/ufs/ffs/ffs_vnops.c,v
retrieving revision 1.91
diff -u -p -r1.91 ffs_vnops.c
--- ffs_vnops.c 2 Jul 2018 20:56:22 -0000       1.91
+++ ffs_vnops.c 11 Jul 2018 05:20:27 -0000
@@ -315,7 +315,7 @@ ffs_write(void *v)
                        panic("ffs_write: nonsync dir write");
                break;
        default:
-               panic("ffs_write: type");
+               panic("ffs_write: type %d", vp->v_type);
        }
 
        fs = ip->i_fs;

Reply via email to