Re: [PATCH 07/25] r/o bind mounts: elevate write count for someioctls

From: Andrew Morton
Date: Fri Sep 21 2007 - 19:03:48 EST


On Thu, 20 Sep 2007 12:52:57 -0700
Dave Hansen <haveblue@xxxxxxxxxx> wrote:

> Some ioctl()s can cause writes to the filesystem. Take
> these, and make them use mnt_want/drop_write() instead.
>
> We need to pass the filp one layer deeper in XFS, but
> somebody _just_ pulled it out in February because nobody
> was using it, so I don't feel guilty for adding it back.

Note that -mm's ext2-reservations.patch adds EXT2_IOC_SETRSVSZ,
and it doesn't do mnt_want_write().
-
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/