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
641cf4a6
Commit
641cf4a6
authored
Jun 24, 2009
by
Markus Trippelsdorf
Committed by
Al Viro
Jun 24, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inline functions left without protection of ifdef (acl)
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
c82e6d45
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
include/linux/posix_acl.h
include/linux/posix_acl.h
+2
-1
No files found.
include/linux/posix_acl.h
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 */
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