Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
8c416c9e
Commit
8c416c9e
authored
Jan 14, 2008
by
Chris Mason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Btrfs: Delete any remaining extent_maps before freeing the inode
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
b99aa6cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
fs/btrfs/inode.c
fs/btrfs/inode.c
+1
-0
No files found.
fs/btrfs/inode.c
View file @
8c416c9e
...
@@ -2601,6 +2601,7 @@ void btrfs_destroy_inode(struct inode *inode)
...
@@ -2601,6 +2601,7 @@ void btrfs_destroy_inode(struct inode *inode)
WARN_ON
(
!
list_empty
(
&
inode
->
i_dentry
));
WARN_ON
(
!
list_empty
(
&
inode
->
i_dentry
));
WARN_ON
(
inode
->
i_data
.
nrpages
);
WARN_ON
(
inode
->
i_data
.
nrpages
);
btrfs_drop_extent_cache
(
inode
,
0
,
(
u64
)
-
1
);
kmem_cache_free
(
btrfs_inode_cachep
,
BTRFS_I
(
inode
));
kmem_cache_free
(
btrfs_inode_cachep
,
BTRFS_I
(
inode
));
}
}
...
...
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