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
b32d7ca9
Commit
b32d7ca9
authored
May 20, 2003
by
Nathan Scott
Committed by
Christoph Hellwig
May 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Fix up a pagebuf spelling mistake and a couple of whitespace botches.
SGI Modid: 2.5.x-xfs:slinx:148595a
parent
646daae7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
fs/xfs/pagebuf/page_buf.c
fs/xfs/pagebuf/page_buf.c
+8
-8
No files found.
fs/xfs/pagebuf/page_buf.c
View file @
b32d7ca9
...
@@ -181,7 +181,7 @@ _bhash(
...
@@ -181,7 +181,7 @@ _bhash(
* dev_t is 16 bits, loff_t is always 64 bits
* dev_t is 16 bits, loff_t is always 64 bits
*/
*/
base
^=
dev
;
base
^=
dev
;
for
(
bit
=
hval
=
0
;
base
!=
0
&&
bit
<
sizeof
(
base
)
*
8
;
bit
+=
NBITS
)
{
for
(
bit
=
hval
=
0
;
base
&&
bit
<
sizeof
(
base
)
*
8
;
bit
+=
NBITS
)
{
hval
^=
(
int
)
base
&
(
NHASH
-
1
);
hval
^=
(
int
)
base
&
(
NHASH
-
1
);
base
>>=
NBITS
;
base
>>=
NBITS
;
}
}
...
@@ -189,18 +189,18 @@ _bhash(
...
@@ -189,18 +189,18 @@ _bhash(
}
}
/*
/*
* Mapping of multi-page buffers into conti
ng
ous virtual space
* Mapping of multi-page buffers into conti
gu
ous virtual space
*/
*/
STATIC
void
*
pagebuf_mapout_locked
(
page_buf_t
*
);
STATIC
void
*
pagebuf_mapout_locked
(
page_buf_t
*
);
STATIC
spinlock_t
as_lock
=
SPIN_LOCK_UNLOCKED
;
typedef
struct
a_list
{
typedef
struct
a_list
{
void
*
vm_addr
;
void
*
vm_addr
;
struct
a_list
*
next
;
struct
a_list
*
next
;
}
a_list_t
;
}
a_list_t
;
STATIC
a_list_t
*
as_free_head
;
STATIC
a_list_t
*
as_free_head
;
STATIC
int
as_list_len
;
STATIC
int
as_list_len
;
STATIC
spinlock_t
as_lock
=
SPIN_LOCK_UNLOCKED
;
/*
/*
...
...
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