Re: [PATCH v3 3/5] fs: Wire up SED/Opal to ioctl

2016-12-19 Thread Christoph Hellwig
> @@ -853,6 +854,7 @@ struct file { > #ifdef CONFIG_SECURITY > void*f_security; > #endif > + struct sed_context *f_sedctx; Adding a new field to the global struct file for a block driver feature is not acceptable. And I don't really see why it would be nesseca

[PATCH v3 3/5] fs: Wire up SED/Opal to ioctl

2016-12-19 Thread Scott Bauer
Adds a new sed_context pointer to file struct, for char devs who wish to suppor SED. Adds ioctl handling code. Signed-off-by: Scott Bauer Signed-off-by: Rafael Antognolli --- fs/ioctl.c | 3 +++ include/linux/fs.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/fs/ioctl.c b/fs/io