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
2e1dab7d
Commit
2e1dab7d
authored
Nov 26, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LSM: fix conversions in hugetlbfs that I missed in the last merge.
parent
828bb5f4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fs/hugetlbfs/inode.c
fs/hugetlbfs/inode.c
+2
-2
No files found.
fs/hugetlbfs/inode.c
View file @
2e1dab7d
...
@@ -209,7 +209,7 @@ static void hugetlbfs_delete_inode(struct inode *inode)
...
@@ -209,7 +209,7 @@ static void hugetlbfs_delete_inode(struct inode *inode)
if
(
inode
->
i_data
.
nrpages
)
if
(
inode
->
i_data
.
nrpages
)
truncate_hugepages
(
&
inode
->
i_data
,
0
);
truncate_hugepages
(
&
inode
->
i_data
,
0
);
security_
ops
->
inode_delete
(
inode
);
security_inode_delete
(
inode
);
clear_inode
(
inode
);
clear_inode
(
inode
);
destroy_inode
(
inode
);
destroy_inode
(
inode
);
...
@@ -333,7 +333,7 @@ static int hugetlbfs_setattr(struct dentry *dentry, struct iattr *attr)
...
@@ -333,7 +333,7 @@ static int hugetlbfs_setattr(struct dentry *dentry, struct iattr *attr)
if
(
error
)
if
(
error
)
goto
out
;
goto
out
;
error
=
security_
ops
->
inode_setattr
(
dentry
,
attr
);
error
=
security_inode_setattr
(
dentry
,
attr
);
if
(
error
)
if
(
error
)
goto
out
;
goto
out
;
...
...
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