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
4ef64eae
Commit
4ef64eae
authored
Apr 21, 2008
by
Chris Mason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Btrfs: Remove debugging statements from the invalidatepage calls
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
ad5bd91e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
fs/btrfs/disk-io.c
fs/btrfs/disk-io.c
+1
-1
fs/btrfs/inode.c
fs/btrfs/inode.c
+2
-1
No files found.
fs/btrfs/disk-io.c
View file @
4ef64eae
...
...
@@ -534,7 +534,7 @@ static void btree_invalidatepage(struct page *page, unsigned long offset)
extent_invalidatepage
(
tree
,
page
,
offset
);
btree_releasepage
(
page
,
GFP_NOFS
);
if
(
PagePrivate
(
page
))
{
printk
(
"2invalidate page cleaning up after releasepage
\n
"
);
invalidate_extent_lru
(
tree
,
page_offset
(
page
),
PAGE_CACHE_SIZE
);
ClearPagePrivate
(
page
);
set_page_private
(
page
,
0
);
page_cache_release
(
page
);
...
...
fs/btrfs/inode.c
View file @
4ef64eae
...
...
@@ -2510,6 +2510,7 @@ static int btrfs_releasepage(struct page *page, gfp_t gfp_flags)
map
=
&
BTRFS_I
(
page
->
mapping
->
host
)
->
extent_tree
;
ret
=
try_release_extent_mapping
(
map
,
tree
,
page
,
gfp_flags
);
if
(
ret
==
1
)
{
invalidate_extent_lru
(
tree
,
page_offset
(
page
),
PAGE_CACHE_SIZE
);
ClearPagePrivate
(
page
);
set_page_private
(
page
,
0
);
page_cache_release
(
page
);
...
...
@@ -2525,7 +2526,7 @@ static void btrfs_invalidatepage(struct page *page, unsigned long offset)
extent_invalidatepage
(
tree
,
page
,
offset
);
btrfs_releasepage
(
page
,
GFP_NOFS
);
if
(
PagePrivate
(
page
))
{
printk
(
"invalidate page cleaning up after releasepage
\n
"
);
invalidate_extent_lru
(
tree
,
page_offset
(
page
),
PAGE_CACHE_SIZE
);
ClearPagePrivate
(
page
);
set_page_private
(
page
,
0
);
page_cache_release
(
page
);
...
...
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