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
2b71f90e
Commit
2b71f90e
authored
Oct 16, 2002
by
Stephen Lord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XFS: fix xfs build on big endian architectures and cleanup
Modid: 2.5.x-xfs:slinx:130142a
parent
98e222d7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
fs/xfs/linux/xfs_globals.c
fs/xfs/linux/xfs_globals.c
+2
-1
fs/xfs/xfs_bmap_btree.c
fs/xfs/xfs_bmap_btree.c
+0
-4
fs/xfs/xfs_bmap_btree.h
fs/xfs/xfs_bmap_btree.h
+2
-2
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.c
+4
-1
fs/xfs/xfs_inode_item.h
fs/xfs/xfs_inode_item.h
+3
-3
No files found.
fs/xfs/linux/xfs_globals.c
View file @
2b71f90e
...
...
@@ -64,5 +64,6 @@ EXPORT_SYMBOL(xfs_Gqm);
EXPORT_SYMBOL
(
xfs_next_bit
);
EXPORT_SYMBOL
(
xfs_contig_bits
);
EXPORT_SYMBOL
(
xfs_bmbt_get_all
);
#if ARCH_CONVERT != ARCH_NOCONVERT
EXPORT_SYMBOL
(
xfs_bmbt_disk_get_all
);
#endif
fs/xfs/xfs_bmap_btree.c
View file @
2b71f90e
...
...
@@ -253,11 +253,7 @@ xfs_bmbt_trace_cursor(
xfs_bmbt_trace_enter
(
func
,
cur
,
s
,
XFS_BMBT_KTRACE_CUR
,
line
,
(
cur
->
bc_nlevels
<<
24
)
|
(
cur
->
bc_private
.
b
.
flags
<<
16
)
|
cur
->
bc_private
.
b
.
allocated
,
#if BMBT_USE_64
INT_GET
(
r
.
l0
,
ARCH_CONVERT
)
>>
32
,
(
int
)
INT_GET
(
r
.
l0
,
ARCH_CONVERT
),
INT_GET
(
r
.
l1
,
ARCH_CONVERT
)
>>
32
,
(
int
)
INT_GET
(
r
.
l1
,
ARCH_CONVERT
),
#else
INT_GET
(
r
.
l0
,
ARCH_CONVERT
),
INT_GET
(
r
.
l1
,
ARCH_CONVERT
),
INT_GET
(
r
.
l2
,
ARCH_CONVERT
),
INT_GET
(
r
.
l3
,
ARCH_CONVERT
),
#endif
(
unsigned
long
)
cur
->
bc_bufs
[
0
],
(
unsigned
long
)
cur
->
bc_bufs
[
1
],
(
unsigned
long
)
cur
->
bc_bufs
[
2
],
(
unsigned
long
)
cur
->
bc_bufs
[
3
],
(
cur
->
bc_ptrs
[
0
]
<<
16
)
|
cur
->
bc_ptrs
[
1
],
...
...
fs/xfs/xfs_bmap_btree.h
View file @
2b71f90e
...
...
@@ -658,8 +658,8 @@ xfs_bmbt_disk_set_allf(
#else
#define xfs_bmbt_disk_set_all(r, s) \
xfs_bmbt_set_all(r, s)
#define xfs_bmbt_disk_set_allf(r,
0
, b, c, v) \
xfs_bmbt_set_allf(r,
0
, b, c, v)
#define xfs_bmbt_disk_set_allf(r,
o
, b, c, v) \
xfs_bmbt_set_allf(r,
o
, b, c, v)
#endif
void
...
...
fs/xfs/xfs_inode.c
View file @
2b71f90e
...
...
@@ -602,9 +602,12 @@ xfs_iformat_extents(
int
whichfork
)
{
xfs_ifork_t
*
ifp
;
int
nex
,
i
;
int
nex
;
int
real_size
;
int
size
;
#if ARCH_CONVERT != ARCH_NOCONVERT
int
i
;
#endif
xfs_bmbt_rec_t
*
ep
,
*
dp
;
ifp
=
XFS_IFORK_PTR
(
ip
,
whichfork
);
...
...
fs/xfs/xfs_inode_item.h
View file @
2b71f90e
...
...
@@ -126,7 +126,7 @@ typedef struct xfs_inode_log_format_v1 {
#ifdef __KERNEL__
struct
xfs_buf
;
struct
xfs_bmbt_rec_
32
;
struct
xfs_bmbt_rec_
64
;
struct
xfs_inode
;
struct
xfs_mount
;
...
...
@@ -141,9 +141,9 @@ typedef struct xfs_inode_log_item {
unsigned
short
ili_flags
;
/* misc flags */
unsigned
short
ili_logged
;
/* flushed logged data */
unsigned
int
ili_last_fields
;
/* fields when flushed */
struct
xfs_bmbt_rec_
32
*
ili_extents_buf
;
/* array of logged
struct
xfs_bmbt_rec_
64
*
ili_extents_buf
;
/* array of logged
data exts */
struct
xfs_bmbt_rec_
32
*
ili_aextents_buf
;
/* array of logged
struct
xfs_bmbt_rec_
64
*
ili_aextents_buf
;
/* array of logged
attr exts */
unsigned
int
ili_pushbuf_flag
;
/* one bit used in push_ail */
...
...
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