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
2b3cd4fd
Commit
2b3cd4fd
authored
Dec 07, 2002
by
Oleg Drokin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reiserfs: Fixed annoying warnings in fs/reiserfs/procfs.c
parent
35720c25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
fs/reiserfs/procfs.c
fs/reiserfs/procfs.c
+8
-8
No files found.
fs/reiserfs/procfs.c
View file @
2b3cd4fd
...
@@ -78,7 +78,7 @@ int reiserfs_version_in_proc( char *buffer, char **start, off_t offset,
...
@@ -78,7 +78,7 @@ int reiserfs_version_in_proc( char *buffer, char **start, off_t offset,
struct
super_block
*
sb
;
struct
super_block
*
sb
;
char
*
format
;
char
*
format
;
sb
=
procinfo_prologue
((
dev_
t
)
data
);
sb
=
procinfo_prologue
((
in
t
)
data
);
if
(
sb
==
NULL
)
if
(
sb
==
NULL
)
return
-
ENOENT
;
return
-
ENOENT
;
if
(
REISERFS_SB
(
sb
)
->
s_properties
&
(
1
<<
REISERFS_3_6
)
)
{
if
(
REISERFS_SB
(
sb
)
->
s_properties
&
(
1
<<
REISERFS_3_6
)
)
{
...
@@ -136,7 +136,7 @@ int reiserfs_super_in_proc( char *buffer, char **start, off_t offset,
...
@@ -136,7 +136,7 @@ int reiserfs_super_in_proc( char *buffer, char **start, off_t offset,
struct
reiserfs_sb_info
*
r
;
struct
reiserfs_sb_info
*
r
;
int
len
=
0
;
int
len
=
0
;
sb
=
procinfo_prologue
((
dev_
t
)
data
);
sb
=
procinfo_prologue
((
in
t
)
data
);
if
(
sb
==
NULL
)
if
(
sb
==
NULL
)
return
-
ENOENT
;
return
-
ENOENT
;
r
=
REISERFS_SB
(
sb
);
r
=
REISERFS_SB
(
sb
);
...
@@ -229,7 +229,7 @@ int reiserfs_per_level_in_proc( char *buffer, char **start, off_t offset,
...
@@ -229,7 +229,7 @@ int reiserfs_per_level_in_proc( char *buffer, char **start, off_t offset,
int
len
=
0
;
int
len
=
0
;
int
level
;
int
level
;
sb
=
procinfo_prologue
((
dev_
t
)
data
);
sb
=
procinfo_prologue
((
in
t
)
data
);
if
(
sb
==
NULL
)
if
(
sb
==
NULL
)
return
-
ENOENT
;
return
-
ENOENT
;
r
=
REISERFS_SB
(
sb
);
r
=
REISERFS_SB
(
sb
);
...
@@ -308,7 +308,7 @@ int reiserfs_bitmap_in_proc( char *buffer, char **start, off_t offset,
...
@@ -308,7 +308,7 @@ int reiserfs_bitmap_in_proc( char *buffer, char **start, off_t offset,
struct
reiserfs_sb_info
*
r
;
struct
reiserfs_sb_info
*
r
;
int
len
=
0
;
int
len
=
0
;
sb
=
procinfo_prologue
((
dev_
t
)
data
);
sb
=
procinfo_prologue
((
in
t
)
data
);
if
(
sb
==
NULL
)
if
(
sb
==
NULL
)
return
-
ENOENT
;
return
-
ENOENT
;
r
=
REISERFS_SB
(
sb
);
r
=
REISERFS_SB
(
sb
);
...
@@ -352,7 +352,7 @@ int reiserfs_on_disk_super_in_proc( char *buffer, char **start, off_t offset,
...
@@ -352,7 +352,7 @@ int reiserfs_on_disk_super_in_proc( char *buffer, char **start, off_t offset,
int
hash_code
;
int
hash_code
;
int
len
=
0
;
int
len
=
0
;
sb
=
procinfo_prologue
((
dev_
t
)
data
);
sb
=
procinfo_prologue
((
in
t
)
data
);
if
(
sb
==
NULL
)
if
(
sb
==
NULL
)
return
-
ENOENT
;
return
-
ENOENT
;
sb_info
=
REISERFS_SB
(
sb
);
sb_info
=
REISERFS_SB
(
sb
);
...
@@ -409,7 +409,7 @@ int reiserfs_oidmap_in_proc( char *buffer, char **start, off_t offset,
...
@@ -409,7 +409,7 @@ int reiserfs_oidmap_in_proc( char *buffer, char **start, off_t offset,
int
len
=
0
;
int
len
=
0
;
int
exact
;
int
exact
;
sb
=
procinfo_prologue
((
dev_
t
)
data
);
sb
=
procinfo_prologue
((
in
t
)
data
);
if
(
sb
==
NULL
)
if
(
sb
==
NULL
)
return
-
ENOENT
;
return
-
ENOENT
;
sb_info
=
REISERFS_SB
(
sb
);
sb_info
=
REISERFS_SB
(
sb
);
...
@@ -461,7 +461,7 @@ int reiserfs_journal_in_proc( char *buffer, char **start, off_t offset,
...
@@ -461,7 +461,7 @@ int reiserfs_journal_in_proc( char *buffer, char **start, off_t offset,
struct
journal_params
*
jp
;
struct
journal_params
*
jp
;
int
len
=
0
;
int
len
=
0
;
sb
=
procinfo_prologue
((
dev_
t
)
data
);
sb
=
procinfo_prologue
((
in
t
)
data
);
if
(
sb
==
NULL
)
if
(
sb
==
NULL
)
return
-
ENOENT
;
return
-
ENOENT
;
r
=
REISERFS_SB
(
sb
);
r
=
REISERFS_SB
(
sb
);
...
@@ -604,7 +604,7 @@ struct proc_dir_entry *reiserfs_proc_register( struct super_block *sb,
...
@@ -604,7 +604,7 @@ struct proc_dir_entry *reiserfs_proc_register( struct super_block *sb,
{
{
return
(
REISERFS_SB
(
sb
)
->
procdir
)
?
create_proc_read_entry
return
(
REISERFS_SB
(
sb
)
->
procdir
)
?
create_proc_read_entry
(
name
,
0
,
REISERFS_SB
(
sb
)
->
procdir
,
func
,
(
name
,
0
,
REISERFS_SB
(
sb
)
->
procdir
,
func
,
(
void
*
)
sb
->
s_bdev
->
bd_dev
)
:
NULL
;
(
void
*
)
(
int
)
sb
->
s_bdev
->
bd_dev
)
:
NULL
;
}
}
void
reiserfs_proc_unregister
(
struct
super_block
*
sb
,
const
char
*
name
)
void
reiserfs_proc_unregister
(
struct
super_block
*
sb
,
const
char
*
name
)
...
...
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