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
26d0eaef
Commit
26d0eaef
authored
Jan 09, 2004
by
Nathan Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Use iomap abstraction consistently.
SGI Modid: 2.5.x-xfs:slinx:162327a
parent
acc0e94e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
fs/xfs/linux/xfs_aops.c
fs/xfs/linux/xfs_aops.c
+4
-4
No files found.
fs/xfs/linux/xfs_aops.c
View file @
26d0eaef
...
...
@@ -184,13 +184,13 @@ map_buffer_at_offset(
int
block_bits
,
xfs_iomap_t
*
iomapp
)
{
page_buf_daddr_t
bn
;
xfs_daddr_t
bn
;
loff_t
delta
;
int
sector_shift
;
ASSERT
(
!
(
iomapp
->
iomap_flags
&
IOMAP_HOLE
));
ASSERT
(
!
(
iomapp
->
iomap_flags
&
IOMAP_DELAY
));
ASSERT
(
iomapp
->
iomap_bn
!=
PAGE_BUF
_DADDR_NULL
);
ASSERT
(
iomapp
->
iomap_bn
!=
IOMAP
_DADDR_NULL
);
delta
=
page
->
index
;
delta
<<=
PAGE_CACHE_SHIFT
;
...
...
@@ -870,8 +870,8 @@ linvfs_get_block_core(
if
(
retpbbm
==
0
)
return
0
;
if
(
iomap
.
iomap_bn
!=
PAGE_BUF
_DADDR_NULL
)
{
page_buf_daddr_t
bn
;
if
(
iomap
.
iomap_bn
!=
IOMAP
_DADDR_NULL
)
{
xfs_daddr_t
bn
;
loff_t
delta
;
/* For unwritten extents do not report a disk address on
...
...
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