All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Knutsson <ricknu-0@student.ltu.se>
To: Linus Torvalds <torvalds@osdl.org>
Cc: linux-kernel@vger.kernel.org, shaggy@austin.ibm.com
Subject: [PATCH] fs/jfs: fix error due to PF_* undeclared
Date: Fri, 08 Dec 2006 19:56:20 +0100	[thread overview]
Message-ID: <4579B554.5010701@student.ltu.se> (raw)
In-Reply-To: <Pine.LNX.4.64.0611291411300.3513@woody.osdl.org>

  CC [M]  fs/jfs/jfs_txnmgr.o
In file included from fs/jfs/jfs_txnmgr.c:49:
include/linux/freezer.h: In function ‘frozen’:
include/linux/freezer.h:9: error: dereferencing pointer to incomplete type
include/linux/freezer.h:9: error: ‘PF_FROZEN’ undeclared (first use in this function)
<snip>
fs/jfs/jfs_txnmgr.c: In function ‘freezing’:
include/linux/freezer.h:18: warning: control reaches end of non-void function
make[2]: *** [fs/jfs/jfs_txnmgr.o] Error 1
make[1]: *** [fs/jfs] Error 2
make: *** [fs] Error 2

Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>

---

Guess this is the desired fix, since including linux/sched.h in linux/freezer.h
make little sense.


diff --git a/fs/jfs/jfs_txnmgr.c b/fs/jfs/jfs_txnmgr.c
index d558e51..2aee0a8 100644
--- a/fs/jfs/jfs_txnmgr.c
+++ b/fs/jfs/jfs_txnmgr.c
@@ -46,6 +46,7 @@ #include <linux/fs.h>
 #include <linux/vmalloc.h>
 #include <linux/smp_lock.h>
 #include <linux/completion.h>
+#include <linux/sched.h>
 #include <linux/freezer.h>
 #include <linux/module.h>
 #include <linux/moduleparam.h>


  parent reply	other threads:[~2006-12-08 19:14 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-29 22:21 Linux 2.6.19 Linus Torvalds
2006-11-29 22:55 ` Romano Giannetti
2006-11-29 23:11 ` Randy Dunlap
2006-11-29 23:21   ` Alan
2006-11-29 23:15     ` Randy Dunlap
2006-11-29 23:25       ` Geraldo Netto
2006-11-29 23:32         ` Randy Dunlap
2006-11-29 23:31       ` Geraldo Netto
2006-11-29 23:52       ` Linus Torvalds
2006-11-30  0:56   ` Greg Norris
2006-11-30  1:08     ` Randy Dunlap
2006-11-30  2:20       ` Greg Norris
2006-11-30  1:49     ` Phil Oester
2006-11-30  2:15       ` David Miller
2006-11-30  2:22         ` Phil Oester
2006-11-30 20:30         ` Malte Schröder
2006-12-02  9:48           ` Malte Schröder
2006-11-30  0:26 ` Udo A. Steinberg
2006-11-30 21:15   ` Herbert Xu
2006-11-30 22:32     ` Udo A. Steinberg
2006-11-30 23:51       ` Herbert Xu
2006-11-30  8:01 ` Jindrich Makovicka
2006-12-02 19:54 ` Matthijs
2006-12-08 18:56 ` Richard Knutsson [this message]
2006-12-08 19:23   ` [PATCH] fs/jfs: fix error due to PF_* undeclared Randy Dunlap
2006-12-08 21:29     ` Richard Knutsson
2006-12-08 21:59       ` Dave Kleikamp
2006-12-11 14:47 ` Linux 2.6.19 Romano Giannetti
2006-12-11 20:38   ` Dominik Brodowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4579B554.5010701@student.ltu.se \
    --to=ricknu-0@student.ltu.se \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shaggy@austin.ibm.com \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.