2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/drivers/xen/xenfs
Eric Biggers cda37124f4 fs: constify tree_descr arrays passed to simple_fill_super()
simple_fill_super() is passed an array of tree_descr structures which
describe the files to create in the filesystem's root directory.  Since
these arrays are never modified intentionally, they should be 'const' so
that they are placed in .rodata and benefit from memory protection.
This patch updates the function signature and all users, and also
constifies tree_descr.name.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2017-04-26 23:54:06 -04:00
..
Makefile xen: xensyms support 2015-08-20 12:24:25 +01:00
super.c fs: constify tree_descr arrays passed to simple_fill_super() 2017-04-26 23:54:06 -04:00
xenfs.h xen: xensyms support 2015-08-20 12:24:25 +01:00
xenstored.c xen: clean up xenbus internal headers 2017-02-09 11:26:49 -05:00
xensyms.c xen: audit usages of module.h ; remove unnecessary instances 2016-03-21 15:13:32 +00:00