提交 8c6866b0 编写于 作者: A Artem Bityutskiy

UBIFS: constify file and inode operations

This patch adds 'const' qualifier to UBIFS xattr inode and file
operations.
Pointed-out-by: NJulia Lawall <julia@diku.dk>
Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
上级 887ee171
......@@ -78,9 +78,9 @@ enum {
SECURITY_XATTR,
};
static struct inode_operations none_inode_operations;
static const struct inode_operations none_inode_operations;
static struct address_space_operations none_address_operations;
static struct file_operations none_file_operations;
static const struct file_operations none_file_operations;
/**
* create_xattr - create an extended attribute.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册