2002-06-19 00:05:10

by Andy Pfiffer

[permalink] [raw]
Subject: [ERROR][PATCH] smbfs compilation in 2.5.22 [[email protected]]

This patch fixes a compilation problem with 2.5.22 [[email protected]]

<linux/tqueue.h> needs to be included by fs/smbfs/sock.c
Compiles for me, not run tested.

Andy Pfiffer

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.545 -> 1.546
# fs/smbfs/sock.c 1.7 -> 1.8
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/06/18 [email protected] 1.546
# Compilation fix for fs/smbfs/sock.c (tqueue.h wasn't included).
# --------------------------------------------
#
diff -Nru a/fs/smbfs/sock.c b/fs/smbfs/sock.c
--- a/fs/smbfs/sock.c Tue Jun 18 16:59:23 2002
+++ b/fs/smbfs/sock.c Tue Jun 18 16:59:23 2002
@@ -18,6 +18,7 @@
#include <linux/mm.h>
#include <linux/netdevice.h>
#include <linux/smp_lock.h>
+#include <linux/tqueue.h>
#include <net/scm.h>
#include <net/ip.h>