Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
0ae7cf13
Commit
0ae7cf13
authored
Jul 23, 2002
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JFFS2 compile fixes for latest kernel.
parent
e2aebe41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
fs/jffs2/super.c
fs/jffs2/super.c
+3
-3
include/linux/jffs2_fs_sb.h
include/linux/jffs2_fs_sb.h
+2
-1
No files found.
fs/jffs2/super.c
View file @
0ae7cf13
...
...
@@ -7,7 +7,7 @@
*
* For licensing information, see the file 'LICENCE' in this directory.
*
* $Id: super.c,v 1.7
1 2002/07/23 12:57:38
dwmw2 Exp $
* $Id: super.c,v 1.7
2 2002/07/23 14:39:54
dwmw2 Exp $
*
*/
...
...
@@ -77,11 +77,11 @@ static int jffs2_sb_compare(struct super_block *sb, void *data)
/* The superblocks are considered to be equivalent if the underlying MTD
device is the same one */
if
(
c
->
mtd
==
p
->
mtd
)
{
D1
(
printk
(
KERN_DEBUG
"jffs2_sb_compare: match on device %d (
\"
%s
\"
)
\n
"
,
mtd
->
index
,
mtd
->
name
));
D1
(
printk
(
KERN_DEBUG
"jffs2_sb_compare: match on device %d (
\"
%s
\"
)
\n
"
,
p
->
mtd
->
index
,
p
->
mtd
->
name
));
return
1
;
}
else
{
D1
(
printk
(
KERN_DEBUG
"jffs2_sb_compare: No match, device %d (
\"
%s
\"
), device %d (
\"
%s
\"
)
\n
"
,
c
->
mtd
->
index
,
c
->
mtd
->
name
,
mtd
->
index
,
mtd
->
name
));
c
->
mtd
->
index
,
c
->
mtd
->
name
,
p
->
mtd
->
index
,
p
->
mtd
->
name
));
return
0
;
}
}
...
...
include/linux/jffs2_fs_sb.h
View file @
0ae7cf13
/* $Id: jffs2_fs_sb.h,v 1.3
1 2002/07/02 22:48:2
4 dwmw2 Exp $ */
/* $Id: jffs2_fs_sb.h,v 1.3
2 2002/07/23 14:35:3
4 dwmw2 Exp $ */
#ifndef _JFFS2_FS_SB
#define _JFFS2_FS_SB
#include <linux/types.h>
#include <linux/spinlock.h>
#include <linux/tqueue.h>
#include <linux/completion.h>
#include <asm/semaphore.h>
#include <linux/list.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment