Skip to content

Commit 6104cc6

Browse files
giuseppegregkh
authored andcommitted
ovl: remove unused forward declaration
[ Upstream commit a6eb9a4 ] The ovl_get_verity_xattr() function was never added, only its declaration. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Fixes: 184996e ("ovl: Validate verity xattr when resolving lowerdata") Reviewed-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Alexander Larsson <alexl@redhat.com> Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent bbad32b commit 6104cc6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/overlayfs/overlayfs.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,8 +547,6 @@ int ovl_set_metacopy_xattr(struct ovl_fs *ofs, struct dentry *d,
547547
bool ovl_is_metacopy_dentry(struct dentry *dentry);
548548
char *ovl_get_redirect_xattr(struct ovl_fs *ofs, const struct path *path, int padding);
549549
int ovl_ensure_verity_loaded(struct path *path);
550-
int ovl_get_verity_xattr(struct ovl_fs *ofs, const struct path *path,
551-
u8 *digest_buf, int *buf_length);
552550
int ovl_validate_verity(struct ovl_fs *ofs,
553551
struct path *metapath,
554552
struct path *datapath);

0 commit comments

Comments
 (0)