Re: [RFC/PATCH 4/8] revoke: core code V7

From: Pekka J Enberg
Date: Wed Jan 16 2008 - 03:35:56 EST


Hi,

On Tue, 15 Jan 2008, Christoph Hellwig wrote:
> Something like the loop above is not going to go in for sure. Once we
> get rid of the sb->s_files we can put the list_head in struct file to
> new use eventually if we don't want to get rid of it. E.g. and
> per-inode list would be much better than the per-superblock one and
> would regularize what the tty driver is doing.

Sure, adding a list of struct files to struct inode obviously works for
me. But it does increase the size of struct inode which I thought you're
not allowed to do ;-)

Anyway, there are still some other problems with this patch if we want to
use it to implement forced unmount (my bad, we can't go changing struct
inode because it's shared by different mount points).

Pekka
--
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/