Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
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
Commits
caaca38b
Commit
caaca38b
authored
Jan 17, 2008
by
Yan
Committed by
Chris Mason
Sep 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Btrfs: Fix compile on kernel without ACLs enabled
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
4d5e74bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
fs/btrfs/Makefile
fs/btrfs/Makefile
+4
-1
fs/btrfs/xattr.c
fs/btrfs/xattr.c
+4
-2
No files found.
fs/btrfs/Makefile
View file @
caaca38b
...
...
@@ -5,8 +5,11 @@ obj-m := btrfs.o
btrfs-y
:=
super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o
\
hash.o file-item.o inode-item.o inode-map.o disk-io.o
\
transaction.o bit-radix.o inode.o file.o tree-defrag.o
\
extent_map.o sysfs.o struct-funcs.o xattr.o
acl.o
ordered-data.o
extent_map.o sysfs.o struct-funcs.o xattr.o ordered-data.o
ifeq
($(CONFIG_FS_POSIX_ACL),y)
btrfs-y
+=
acl.o
endif
#btrfs-y := ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o \
# root-tree.o dir-item.o hash.o file-item.o inode-item.o \
# inode-map.o \
...
...
fs/btrfs/xattr.c
View file @
caaca38b
...
...
@@ -26,20 +26,22 @@
#include "transaction.h"
#include "xattr.h"
#include "disk-io.h"
static
struct
xattr_handler
*
btrfs_xattr_handler_map
[]
=
{
[
BTRFS_XATTR_INDEX_USER
]
=
&
btrfs_xattr_user_handler
,
#ifdef CONFIG_FS_POSIX_ACL
[
BTRFS_XATTR_INDEX_POSIX_ACL_ACCESS
]
=
&
btrfs_xattr_acl_access_handler
,
[
BTRFS_XATTR_INDEX_POSIX_ACL_DEFAULT
]
=
&
btrfs_xattr_acl_default_handler
,
#endif
[
BTRFS_XATTR_INDEX_TRUSTED
]
=
&
btrfs_xattr_trusted_handler
,
[
BTRFS_XATTR_INDEX_SECURITY
]
=
&
btrfs_xattr_security_handler
,
[
BTRFS_XATTR_INDEX_SYSTEM
]
=
&
btrfs_xattr_system_handler
,
};
struct
xattr_handler
*
btrfs_xattr_handlers
[]
=
{
&
btrfs_xattr_user_handler
,
#ifdef CONFIG_FS_POSIX_ACL
&
btrfs_xattr_acl_access_handler
,
&
btrfs_xattr_acl_default_handler
,
#endif
&
btrfs_xattr_trusted_handler
,
&
btrfs_xattr_security_handler
,
&
btrfs_xattr_system_handler
,
...
...
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