Re: [14/25] Merge pmdisk and swsusp

From: Pavel Machek
Date: Sun Jul 18 2004 - 17:22:54 EST


Hi!

> +/**
> + * write_header - Fill and write the suspend header.
> + * @entry: Location of the last swap entry used.
> + *
> + * Allocate a page, fill header, write header.
> + *
> + * @entry is the location of the last pagedir entry written on
> + * entrance. On exit, it contains the location of the header.
> + */
> +
> +int swsusp_write_header(swp_entry_t * entry)
> +{
> + return swsusp_write_page((unsigned long)&swsusp_info,entry);
> +}

I do not think this function matches its documentation.
Pavel

--
Horseback riding is like software...
...vgf orggre jura vgf serr.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/