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
75caf6b5
Commit
75caf6b5
authored
Aug 18, 2008
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[JFFS2] Fill in f_fsid field in jffs2_statfs()
Signed-off-by:
David Woodhouse
<
David.Woodhouse@intel.com
>
parent
8ee991dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
fs/jffs2/fs.c
fs/jffs2/fs.c
+2
-0
No files found.
fs/jffs2/fs.c
View file @
75caf6b5
...
...
@@ -207,6 +207,8 @@ int jffs2_statfs(struct dentry *dentry, struct kstatfs *buf)
buf
->
f_files
=
0
;
buf
->
f_ffree
=
0
;
buf
->
f_namelen
=
JFFS2_MAX_NAME_LEN
;
buf
->
f_fsid
.
val
[
0
]
=
JFFS2_SUPER_MAGIC
;
buf
->
f_fsid
.
val
[
1
]
=
c
->
mtd
->
index
;
spin_lock
(
&
c
->
erase_completion_lock
);
avail
=
c
->
dirty_size
+
c
->
free_size
;
...
...
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