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
9f53c6cc
Commit
9f53c6cc
authored
Aug 05, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the new simple_read_from_buffer() take a const src
buffer without complaints.
parent
57ddad15
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
fs/libfs.c
fs/libfs.c
+1
-1
include/linux/fs.h
include/linux/fs.h
+1
-1
No files found.
fs/libfs.c
View file @
9f53c6cc
...
@@ -441,7 +441,7 @@ void simple_release_fs(struct vfsmount **mount, int *count)
...
@@ -441,7 +441,7 @@ void simple_release_fs(struct vfsmount **mount, int *count)
}
}
ssize_t
simple_read_from_buffer
(
void
__user
*
to
,
size_t
count
,
loff_t
*
ppos
,
ssize_t
simple_read_from_buffer
(
void
__user
*
to
,
size_t
count
,
loff_t
*
ppos
,
void
*
from
,
size_t
available
)
const
void
*
from
,
size_t
available
)
{
{
loff_t
pos
=
*
ppos
;
loff_t
pos
=
*
ppos
;
if
(
pos
<
0
)
if
(
pos
<
0
)
...
...
include/linux/fs.h
View file @
9f53c6cc
...
@@ -1527,7 +1527,7 @@ extern int simple_fill_super(struct super_block *, int, struct tree_descr *);
...
@@ -1527,7 +1527,7 @@ extern int simple_fill_super(struct super_block *, int, struct tree_descr *);
extern
int
simple_pin_fs
(
char
*
name
,
struct
vfsmount
**
mount
,
int
*
count
);
extern
int
simple_pin_fs
(
char
*
name
,
struct
vfsmount
**
mount
,
int
*
count
);
extern
void
simple_release_fs
(
struct
vfsmount
**
mount
,
int
*
count
);
extern
void
simple_release_fs
(
struct
vfsmount
**
mount
,
int
*
count
);
extern
ssize_t
simple_read_from_buffer
(
void
__user
*
,
size_t
,
loff_t
*
,
void
*
,
size_t
);
extern
ssize_t
simple_read_from_buffer
(
void
__user
*
,
size_t
,
loff_t
*
,
const
void
*
,
size_t
);
extern
int
inode_change_ok
(
struct
inode
*
,
struct
iattr
*
);
extern
int
inode_change_ok
(
struct
inode
*
,
struct
iattr
*
);
extern
int
__must_check
inode_setattr
(
struct
inode
*
,
struct
iattr
*
);
extern
int
__must_check
inode_setattr
(
struct
inode
*
,
struct
iattr
*
);
...
...
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