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
65d96cf8
Commit
65d96cf8
authored
Jun 21, 2004
by
Alexander Viro
Committed by
Linus Torvalds
Jun 21, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sparse: quota annotation
parent
e8eaa326
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fs/quota.c
fs/quota.c
+2
-2
No files found.
fs/quota.c
View file @
65d96cf8
...
@@ -150,7 +150,7 @@ void sync_dquots(struct super_block *sb, int type)
...
@@ -150,7 +150,7 @@ void sync_dquots(struct super_block *sb, int type)
}
}
/* Copy parameters and call proper function */
/* Copy parameters and call proper function */
static
int
do_quotactl
(
struct
super_block
*
sb
,
int
type
,
int
cmd
,
qid_t
id
,
caddr_t
addr
)
static
int
do_quotactl
(
struct
super_block
*
sb
,
int
type
,
int
cmd
,
qid_t
id
,
void
__user
*
addr
)
{
{
int
ret
;
int
ret
;
...
@@ -264,7 +264,7 @@ static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id, cadd
...
@@ -264,7 +264,7 @@ static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id, cadd
* calls. Maybe we need to add the process quotas etc. in the future,
* calls. Maybe we need to add the process quotas etc. in the future,
* but we probably should use rlimits for that.
* but we probably should use rlimits for that.
*/
*/
asmlinkage
long
sys_quotactl
(
unsigned
int
cmd
,
const
char
__user
*
special
,
qid_t
id
,
caddr_t
addr
)
asmlinkage
long
sys_quotactl
(
unsigned
int
cmd
,
const
char
__user
*
special
,
qid_t
id
,
void
__user
*
addr
)
{
{
uint
cmds
,
type
;
uint
cmds
,
type
;
struct
super_block
*
sb
=
NULL
;
struct
super_block
*
sb
=
NULL
;
...
...
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