Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
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-2.6.23
Commits
b1b5d7f9
Commit
b1b5d7f9
authored
Aug 30, 2005
by
Dave Kleikamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JFS: jfs_delete_inode should always call clear_inode.
Signed-off-by:
Dave Kleikamp
<
shaggy@austin.ibm.com
>
parent
6b39374a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
fs/jfs/inode.c
fs/jfs/inode.c
+12
-12
No files found.
fs/jfs/inode.c
View file @
b1b5d7f9
...
...
@@ -128,21 +128,21 @@ void jfs_delete_inode(struct inode *inode)
{
jfs_info
(
"In jfs_delete_inode, inode = 0x%p"
,
inode
);
if
(
is_bad_inode
(
inode
)
||
(
JFS_IP
(
inode
)
->
fileset
!=
cpu_to_le32
(
FILESYSTEM_I
)))
return
;
if
(
!
is_bad_inode
(
inode
)
&&
(
JFS_IP
(
inode
)
->
fileset
==
cpu_to_le32
(
FILESYSTEM_I
)))
{
if
(
test_cflag
(
COMMIT_Freewmap
,
inode
))
jfs_free_zero_link
(
inode
);
if
(
test_cflag
(
COMMIT_Freewmap
,
inode
))
jfs_free_zero_link
(
inode
);
diFree
(
inode
);
diFree
(
inode
);
/*
* Free the inode from the quota allocation.
*/
DQUOT_INIT
(
inode
);
DQUOT_FREE_INODE
(
inode
);
DQUOT_DROP
(
inode
);
/*
* Free the inode from the quota allocation.
*/
DQUOT_INIT
(
inode
);
DQUOT_FREE_INODE
(
inode
);
DQUOT_DROP
(
inode
);
}
clear_inode
(
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