Re: [PATCH v2] anonfd: Make file read-only if fops->write is notset

From: Al Viro
Date: Fri Dec 18 2009 - 14:14:20 EST


On Fri, Dec 18, 2009 at 10:59:00AM -0800, Davide Libenzi wrote:
> > so would something like this make sense? if so I'll send follow-ups
> > converting ia64 / perfmon and infiniband / uverbs to anon_inodes.
>
> Looks OK to me.

fmode_t calculation looks ugly; I'll update and put into VFS tree
--
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/