[PATCH] 9p: constify xattr_handler

2017-08-31 Thread Arvind Yadav
xattr_handler are not supposed to change at runtime. "struct super_block" working with xattr_handler provided by work with const xattr_handler. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- fs/9p/xattr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH] 9p: constify xattr_handler structures

2017-08-02 Thread Julia Lawall
The xattr_handler structures are only stored in an array of const structures. Thus the xattr_handler structures themselves can be const. Signed-off-by: Julia Lawall --- fs/9p/xattr.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/9p/xattr.c b/fs/9p/xattr.c inde