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
23044294
Commit
23044294
authored
Jan 10, 2004
by
Nathan Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Fix some inconsistent types
SGI Modid: 2.5.x-xfs:slinx:155637a
parent
663be8db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
fs/xfs/xfs_error.c
fs/xfs/xfs_error.c
+4
-4
fs/xfs/xfs_mount.c
fs/xfs/xfs_mount.c
+1
-1
No files found.
fs/xfs/xfs_error.c
View file @
23044294
...
@@ -102,7 +102,7 @@ xfs_error_test(int error_tag, int *fsidp, char *expression,
...
@@ -102,7 +102,7 @@ xfs_error_test(int error_tag, int *fsidp, char *expression,
if
(
random
()
%
randfactor
)
if
(
random
()
%
randfactor
)
return
0
;
return
0
;
memcpy
(
&
fsid
,
fsidp
,
sizeof
(
fsid_t
));
memcpy
(
&
fsid
,
fsidp
,
sizeof
(
xfs_
fsid_t
));
for
(
i
=
0
;
i
<
XFS_NUM_INJECT_ERROR
;
i
++
)
{
for
(
i
=
0
;
i
<
XFS_NUM_INJECT_ERROR
;
i
++
)
{
if
(
xfs_etest
[
i
]
==
error_tag
&&
xfs_etest_fsid
[
i
]
==
fsid
)
{
if
(
xfs_etest
[
i
]
==
error_tag
&&
xfs_etest_fsid
[
i
]
==
fsid
)
{
...
@@ -123,7 +123,7 @@ xfs_errortag_add(int error_tag, xfs_mount_t *mp)
...
@@ -123,7 +123,7 @@ xfs_errortag_add(int error_tag, xfs_mount_t *mp)
int
len
;
int
len
;
int64_t
fsid
;
int64_t
fsid
;
memcpy
(
&
fsid
,
mp
->
m_fixedfsid
,
sizeof
(
fsid_t
));
memcpy
(
&
fsid
,
mp
->
m_fixedfsid
,
sizeof
(
xfs_
fsid_t
));
for
(
i
=
0
;
i
<
XFS_NUM_INJECT_ERROR
;
i
++
)
{
for
(
i
=
0
;
i
<
XFS_NUM_INJECT_ERROR
;
i
++
)
{
if
(
xfs_etest_fsid
[
i
]
==
fsid
&&
xfs_etest
[
i
]
==
error_tag
)
{
if
(
xfs_etest_fsid
[
i
]
==
fsid
&&
xfs_etest
[
i
]
==
error_tag
)
{
...
@@ -156,7 +156,7 @@ xfs_errortag_clear(int error_tag, xfs_mount_t *mp)
...
@@ -156,7 +156,7 @@ xfs_errortag_clear(int error_tag, xfs_mount_t *mp)
int
i
;
int
i
;
int64_t
fsid
;
int64_t
fsid
;
memcpy
(
&
fsid
,
mp
->
m_fixedfsid
,
sizeof
(
fsid_t
));
memcpy
(
&
fsid
,
mp
->
m_fixedfsid
,
sizeof
(
xfs_
fsid_t
));
for
(
i
=
0
;
i
<
XFS_NUM_INJECT_ERROR
;
i
++
)
{
for
(
i
=
0
;
i
<
XFS_NUM_INJECT_ERROR
;
i
++
)
{
if
(
xfs_etest_fsid
[
i
]
==
fsid
&&
xfs_etest
[
i
]
==
error_tag
)
{
if
(
xfs_etest_fsid
[
i
]
==
fsid
&&
xfs_etest
[
i
]
==
error_tag
)
{
...
@@ -209,7 +209,7 @@ xfs_errortag_clearall(xfs_mount_t *mp)
...
@@ -209,7 +209,7 @@ xfs_errortag_clearall(xfs_mount_t *mp)
{
{
int64_t
fsid
;
int64_t
fsid
;
memcpy
(
&
fsid
,
mp
->
m_fixedfsid
,
sizeof
(
fsid_t
));
memcpy
(
&
fsid
,
mp
->
m_fixedfsid
,
sizeof
(
xfs_
fsid_t
));
return
xfs_errortag_clearall_umount
(
fsid
,
mp
->
m_fsname
,
1
);
return
xfs_errortag_clearall_umount
(
fsid
,
mp
->
m_fsname
,
1
);
}
}
...
...
fs/xfs/xfs_mount.c
View file @
23044294
...
@@ -903,7 +903,7 @@ xfs_mountfs(
...
@@ -903,7 +903,7 @@ xfs_mountfs(
* File systems that don't support user level file handles (i.e.
* File systems that don't support user level file handles (i.e.
* all of them except for XFS) will leave vfs_altfsid as NULL.
* all of them except for XFS) will leave vfs_altfsid as NULL.
*/
*/
vfsp
->
vfs_altfsid
=
(
fsid_t
*
)
mp
->
m_fixedfsid
;
vfsp
->
vfs_altfsid
=
(
xfs_
fsid_t
*
)
mp
->
m_fixedfsid
;
mp
->
m_dmevmask
=
0
;
/* not persistent; set after each mount */
mp
->
m_dmevmask
=
0
;
/* not persistent; set after each mount */
/*
/*
...
...
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