* linux-next: build failure after merge of the ksmbd tree
@ 2024-07-15 0:15 Stephen Rothwell
2024-07-15 2:48 ` Steve French
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2024-07-15 0:15 UTC (permalink / raw)
To: Steve French
Cc: Namjae Jeon, Steve French, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]
Hi all,
After merging the ksmbd tree, today's linux-next build (x86_64
allmodconfig) failed like this:
fs/smb/server/vfs_cache.c:39:27: error: 'dh_task' defined but not used [-Werror=unused-variable]
39 | static struct task_struc *dh_task;
| ^~~~~~~
cc1: all warnings being treated as errors
Caused by commit
e70f0abc77e8 ("ksmbd: add durable scavenger timer")
I have applied the following patch for today:
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 15 Jul 2024 09:55:23 +1000
Subject: [PATCH] fixup for "ksmbd: add durable scavenger timer"
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
fs/smb/server/vfs_cache.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/smb/server/vfs_cache.c b/fs/smb/server/vfs_cache.c
index 2b1a5a3ebf42..4d4ee696e37c 100644
--- a/fs/smb/server/vfs_cache.c
+++ b/fs/smb/server/vfs_cache.c
@@ -36,7 +36,6 @@ static struct kmem_cache *filp_cache;
static bool durable_scavenger_running;
static DEFINE_MUTEX(durable_scavenger_lock);
-static struct task_struc *dh_task;
static wait_queue_head_t dh_wq;
void ksmbd_set_fd_limit(unsigned long limit)
--
2.43.0
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: linux-next: build failure after merge of the ksmbd tree
2024-07-15 0:15 linux-next: build failure after merge of the ksmbd tree Stephen Rothwell
@ 2024-07-15 2:48 ` Steve French
0 siblings, 0 replies; 2+ messages in thread
From: Steve French @ 2024-07-15 2:48 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Namjae Jeon, Steve French, Linux Kernel Mailing List,
Linux Next Mailing List
have now updated ksmbd-for-next with the change to address this
On Sun, Jul 14, 2024 at 7:15 PM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After merging the ksmbd tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> fs/smb/server/vfs_cache.c:39:27: error: 'dh_task' defined but not used [-Werror=unused-variable]
> 39 | static struct task_struc *dh_task;
> | ^~~~~~~
> cc1: all warnings being treated as errors
>
> Caused by commit
>
> e70f0abc77e8 ("ksmbd: add durable scavenger timer")
>
> I have applied the following patch for today:
>
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Mon, 15 Jul 2024 09:55:23 +1000
> Subject: [PATCH] fixup for "ksmbd: add durable scavenger timer"
>
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
> fs/smb/server/vfs_cache.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/smb/server/vfs_cache.c b/fs/smb/server/vfs_cache.c
> index 2b1a5a3ebf42..4d4ee696e37c 100644
> --- a/fs/smb/server/vfs_cache.c
> +++ b/fs/smb/server/vfs_cache.c
> @@ -36,7 +36,6 @@ static struct kmem_cache *filp_cache;
>
> static bool durable_scavenger_running;
> static DEFINE_MUTEX(durable_scavenger_lock);
> -static struct task_struc *dh_task;
> static wait_queue_head_t dh_wq;
>
> void ksmbd_set_fd_limit(unsigned long limit)
> --
> 2.43.0
>
> --
> Cheers,
> Stephen Rothwell
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-15 2:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-15 0:15 linux-next: build failure after merge of the ksmbd tree Stephen Rothwell
2024-07-15 2:48 ` Steve French
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox