git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
drivers
/
mtd
/
mtd_blkdevs.c
diff --git
a/drivers/mtd/mtd_blkdevs.c
b/drivers/mtd/mtd_blkdevs.c
index
b134315
..
f8d2185
100644
(file)
--- a/
drivers/mtd/mtd_blkdevs.c
+++ b/
drivers/mtd/mtd_blkdevs.c
@@
-1,5
+1,5
@@
/*
/*
- * $Id: mtd_blkdevs.c,v 1.2
2 2004/07/12 12:35:28
dwmw2 Exp $
+ * $Id: mtd_blkdevs.c,v 1.2
4 2004/11/16 18:28:59
dwmw2 Exp $
*
* (C) 2003 David Woodhouse <dwmw2@infradead.org>
*
*
* (C) 2003 David Woodhouse <dwmw2@infradead.org>
*
@@
-81,7
+81,7
@@
static int mtd_blktrans_thread(void *arg)
struct request_queue *rq = tr->blkcore_priv->rq;
/* we might get involved when memory gets low, so use PF_MEMALLOC */
struct request_queue *rq = tr->blkcore_priv->rq;
/* we might get involved when memory gets low, so use PF_MEMALLOC */
- current->flags |= PF_MEMALLOC;
+ current->flags |= PF_MEMALLOC
| PF_NOFREEZE
;
daemonize("%sd", tr->name);
daemonize("%sd", tr->name);
@@
-143,7
+143,7
@@
static void mtd_blktrans_request(struct request_queue *rq)
}
}
-int blktrans_open(struct inode *i, struct file *f)
+
static
int blktrans_open(struct inode *i, struct file *f)
{
struct mtd_blktrans_dev *dev;
struct mtd_blktrans_ops *tr;
{
struct mtd_blktrans_dev *dev;
struct mtd_blktrans_ops *tr;
@@
-174,7
+174,7
@@
int blktrans_open(struct inode *i, struct file *f)
return ret;
}
return ret;
}
-int blktrans_release(struct inode *i, struct file *f)
+
static
int blktrans_release(struct inode *i, struct file *f)
{
struct mtd_blktrans_dev *dev;
struct mtd_blktrans_ops *tr;
{
struct mtd_blktrans_dev *dev;
struct mtd_blktrans_ops *tr;
@@
-326,7
+326,7
@@
int del_mtd_blktrans_dev(struct mtd_blktrans_dev *old)
return 0;
}
return 0;
}
-void blktrans_notify_remove(struct mtd_info *mtd)
+
static
void blktrans_notify_remove(struct mtd_info *mtd)
{
struct list_head *this, *this2, *next;
{
struct list_head *this, *this2, *next;
@@
-342,7
+342,7
@@
void blktrans_notify_remove(struct mtd_info *mtd)
}
}
}
}
-void blktrans_notify_add(struct mtd_info *mtd)
+
static
void blktrans_notify_add(struct mtd_info *mtd)
{
struct list_head *this;
{
struct list_head *this;