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
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
2 matches
Mail list logo