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
883da600
Commit
883da600
authored
Nov 25, 2011
by
Cong Wang
Committed by
Cong Wang
Mar 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reiserfs: remove the second argument of k[un]map_atomic()
Signed-off-by:
Cong Wang
<
amwang@redhat.com
>
parent
c4bc8dcb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
fs/reiserfs/stree.c
fs/reiserfs/stree.c
+2
-2
fs/reiserfs/tail_conversion.c
fs/reiserfs/tail_conversion.c
+2
-2
No files found.
fs/reiserfs/stree.c
View file @
883da600
...
...
@@ -1284,12 +1284,12 @@ int reiserfs_delete_item(struct reiserfs_transaction_handle *th,
** -clm
*/
data
=
kmap_atomic
(
un_bh
->
b_page
,
KM_USER0
);
data
=
kmap_atomic
(
un_bh
->
b_page
);
off
=
((
le_ih_k_offset
(
&
s_ih
)
-
1
)
&
(
PAGE_CACHE_SIZE
-
1
));
memcpy
(
data
+
off
,
B_I_PITEM
(
PATH_PLAST_BUFFER
(
path
),
&
s_ih
),
ret_value
);
kunmap_atomic
(
data
,
KM_USER0
);
kunmap_atomic
(
data
);
}
/* Perform balancing after all resources have been collected at once. */
do_balance
(
&
s_del_balance
,
NULL
,
NULL
,
M_DELETE
);
...
...
fs/reiserfs/tail_conversion.c
View file @
883da600
...
...
@@ -128,9 +128,9 @@ int direct2indirect(struct reiserfs_transaction_handle *th, struct inode *inode,
if
(
up_to_date_bh
)
{
unsigned
pgoff
=
(
tail_offset
+
total_tail
-
1
)
&
(
PAGE_CACHE_SIZE
-
1
);
char
*
kaddr
=
kmap_atomic
(
up_to_date_bh
->
b_page
,
KM_USER0
);
char
*
kaddr
=
kmap_atomic
(
up_to_date_bh
->
b_page
);
memset
(
kaddr
+
pgoff
,
0
,
blk_size
-
total_tail
);
kunmap_atomic
(
kaddr
,
KM_USER0
);
kunmap_atomic
(
kaddr
);
}
REISERFS_I
(
inode
)
->
i_first_direct_byte
=
U32_MAX
;
...
...
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