Skip to content

Commit a6eb9a4

Browse files
giuseppeMiklos Szeredi
authored andcommitted
ovl: remove unused forward declaration
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>
1 parent eb3a04a commit a6eb9a4

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
@@ -541,8 +541,6 @@ int ovl_set_metacopy_xattr(struct ovl_fs *ofs, struct dentry *d,
541541
bool ovl_is_metacopy_dentry(struct dentry *dentry);
542542
char *ovl_get_redirect_xattr(struct ovl_fs *ofs, const struct path *path, int padding);
543543
int ovl_ensure_verity_loaded(struct path *path);
544-
int ovl_get_verity_xattr(struct ovl_fs *ofs, const struct path *path,
545-
u8 *digest_buf, int *buf_length);
546544
int ovl_validate_verity(struct ovl_fs *ofs,
547545
struct path *metapath,
548546
struct path *datapath);

0 commit comments

Comments
 (0)