Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-guf
Manage
Activity
Members
Labels
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SECO Northern Europe
Kernel
linux-guf
Commits
641cf4a6
Commit
641cf4a6
authored
15 years ago
by
Markus Trippelsdorf
Committed by
Al Viro
15 years ago
Browse files
Options
Downloads
Patches
Plain Diff
inline functions left without protection of ifdef (acl)
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
c82e6d45
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/linux/posix_acl.h
+2
-1
2 additions, 1 deletion
include/linux/posix_acl.h
with
2 additions
and
1 deletion
include/linux/posix_acl.h
+
2
−
1
View file @
641cf4a6
...
@@ -83,6 +83,7 @@ extern int posix_acl_chmod_masq(struct posix_acl *, mode_t);
...
@@ -83,6 +83,7 @@ extern int posix_acl_chmod_masq(struct posix_acl *, mode_t);
extern
struct
posix_acl
*
get_posix_acl
(
struct
inode
*
,
int
);
extern
struct
posix_acl
*
get_posix_acl
(
struct
inode
*
,
int
);
extern
int
set_posix_acl
(
struct
inode
*
,
int
,
struct
posix_acl
*
);
extern
int
set_posix_acl
(
struct
inode
*
,
int
,
struct
posix_acl
*
);
#ifdef CONFIG_FS_POSIX_ACL
static
inline
struct
posix_acl
*
get_cached_acl
(
struct
inode
*
inode
,
int
type
)
static
inline
struct
posix_acl
*
get_cached_acl
(
struct
inode
*
inode
,
int
type
)
{
{
struct
posix_acl
**
p
,
*
acl
;
struct
posix_acl
**
p
,
*
acl
;
...
@@ -146,5 +147,5 @@ static inline void forget_cached_acl(struct inode *inode, int type)
...
@@ -146,5 +147,5 @@ static inline void forget_cached_acl(struct inode *inode, int type)
if
(
old
!=
ACL_NOT_CACHED
)
if
(
old
!=
ACL_NOT_CACHED
)
posix_acl_release
(
old
);
posix_acl_release
(
old
);
}
}
#endif
#endif
/* __LINUX_POSIX_ACL_H */
#endif
/* __LINUX_POSIX_ACL_H */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment