Commit c036061b authored by YueHaibing's avatar YueHaibing Committed by Tyler Hicks

ecryptfs: Make ecryptfs_xattr_handler static

Fix sparse warning:

fs/ecryptfs/inode.c:1138:28: warning:
 symbol 'ecryptfs_xattr_handler' was not declared. Should it be static?
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarTyler Hicks <tyhicks@canonical.com>
parent 29a51df0
......@@ -1135,7 +1135,7 @@ static int ecryptfs_xattr_set(const struct xattr_handler *handler,
}
}
const struct xattr_handler ecryptfs_xattr_handler = {
static const struct xattr_handler ecryptfs_xattr_handler = {
.prefix = "", /* match anything */
.get = ecryptfs_xattr_get,
.set = ecryptfs_xattr_set,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment