/** Serialize the fields to out */ void write(DataOutput out) throws IOException { out.writeInt(id); // write root FSImageSerialization.writeINodeDirectory(root, out); }