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
nexedi
linux
Commits
51ec3922
Commit
51ec3922
authored
Jun 23, 2003
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix jffs2_statfs w.r.t. statfs64
parent
ddd39a53
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
fs/jffs2/fs.c
fs/jffs2/fs.c
+1
-1
fs/jffs2/os-linux.h
fs/jffs2/os-linux.h
+2
-2
No files found.
fs/jffs2/fs.c
View file @
51ec3922
...
...
@@ -22,7 +22,7 @@
#include <linux/vfs.h>
#include "nodelist.h"
int
jffs2_statfs
(
struct
super_block
*
sb
,
struct
statfs
*
buf
)
int
jffs2_statfs
(
struct
super_block
*
sb
,
struct
k
statfs
*
buf
)
{
struct
jffs2_sb_info
*
c
=
JFFS2_SB_INFO
(
sb
);
unsigned
long
avail
;
...
...
fs/jffs2/os-linux.h
View file @
51ec3922
...
...
@@ -123,7 +123,7 @@ static inline void jffs2_init_inode_info(struct jffs2_inode_info *f)
#define jffs2_flash_write_oob(c, ofs, len, retlen, buf) ((c)->mtd->write_oob((c)->mtd, ofs, len, retlen, buf))
#define jffs2_flash_read_oob(c, ofs, len, retlen, buf) ((c)->mtd->read_oob((c)->mtd, ofs, len, retlen, buf))
struct
statfs
;
struct
k
statfs
;
/* wbuf.c */
int
jffs2_flash_writev
(
struct
jffs2_sb_info
*
c
,
const
struct
iovec
*
vecs
,
unsigned
long
count
,
loff_t
to
,
size_t
*
retlen
);
...
...
@@ -169,7 +169,7 @@ void jffs2_read_inode (struct inode *);
void
jffs2_clear_inode
(
struct
inode
*
);
struct
inode
*
jffs2_new_inode
(
struct
inode
*
dir_i
,
int
mode
,
struct
jffs2_raw_inode
*
ri
);
int
jffs2_statfs
(
struct
super_block
*
,
struct
statfs
*
);
int
jffs2_statfs
(
struct
super_block
*
,
struct
k
statfs
*
);
void
jffs2_write_super
(
struct
super_block
*
);
int
jffs2_remount_fs
(
struct
super_block
*
,
int
*
,
char
*
);
int
jffs2_do_fill_super
(
struct
super_block
*
sb
,
void
*
data
,
int
silent
);
...
...
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