Re: [RFC][PATCH] vfs: In mntput run deactivate_super on a shallow stack.

From: Al Viro
Date: Sun Apr 13 2014 - 01:50:58 EST


On Sun, Apr 13, 2014 at 06:39:56AM +0100, Al Viro wrote:
> type = get_fs_type("proc");
> ns = kmalloc(...);
> /* fill *ns */
> mnt = kern_mount_data(type, p);
s/p/ns/
> ...
> if (error) {
> kern_unmount(mnt);
> kfree(p);
ditto.
> put_filesystem(type);
> }

BTW, miklos seems to have a buggered gmail setup - every posting to that
thread triggers a bounce that appears to come from some kind of spam filters
there...
--
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/