unfs3: Fix implicit function declarations of fix_dir_times()

(From OE-Core rev: fbc971f09f9c0db97e7a649b243e44c391d20cd6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2023-01-14 07:49:20 -08:00
committed by Richard Purdie
parent db2cf93abc
commit b622f7f8f0
2 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
From 63e0785bb379a8f2c41f34f5cd938ca38555e605 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 13 Jan 2023 23:41:01 -0800
Subject: [PATCH] locate.c: Include attr.h
Its needed for fix_dir_times() API declarations
Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/32]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
locate.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/locate.c b/locate.c
index 6bbe71f..84e0fe5 100644
--- a/locate.c
+++ b/locate.c
@@ -27,6 +27,7 @@
#include "nfs.h"
#include "fh.h"
#include "daemon.h"
+#include "attr.h"
/*
* these are the brute-force file searching routines that are used
--
2.39.0

View File

@@ -15,6 +15,7 @@ S = "${WORKDIR}/git"
SRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https;branch=master \
file://0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch \
file://0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch \
file://0001-locate.c-Include-attr.h.patch \
"
SRCREV = "c8f2d2cd4529955419bad0e163f88d47ff176b8d"
UPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P<pver>\d+(\.\d+)+)"