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
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
Show 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,9 +128,8 @@ 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
);
...
...
@@ -143,6 +142,7 @@ void jfs_delete_inode(struct inode *inode)
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