Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Aufs5 Standalone
Commits
c6cee59b
Commit
c6cee59b
authored
Dec 23, 2019
by
J. R. Okajima
Browse files
Merge branch 'aufs5.2.5+/30stdalone' into aufs5.2.5+/39public
parents
724285ee
1a9bd6f7
Changes
3
Show whitespace changes
Inline
Side-by-side
Documentation/filesystems/aufs/README
View file @
c6cee59b
...
@@ -272,7 +272,8 @@ optional. When you meet some problems, they will help you.
...
@@ -272,7 +272,8 @@ optional. When you meet some problems, they will help you.
the internal locks for LOCKDEP is necessary. LOCKDEP is a debugging
the internal locks for LOCKDEP is necessary. LOCKDEP is a debugging
feature of linux kernel. If you enable CONFIG_LOCKDEP, then you will
feature of linux kernel. If you enable CONFIG_LOCKDEP, then you will
need to apply this debug patch to expand several constant values.
need to apply this debug patch to expand several constant values.
If don't know what LOCKDEP is, then you don't have apply this patch.
If you don't know what LOCKDEP is, then you don't have apply this
patch.
4. Usage
4. Usage
...
...
fs/aufs/dirren.c
View file @
c6cee59b
...
@@ -1215,8 +1215,8 @@ int au_dr_lkup_name(struct au_do_lookup_args *lkup, aufs_bindex_t btgt)
...
@@ -1215,8 +1215,8 @@ int au_dr_lkup_name(struct au_do_lookup_args *lkup, aufs_bindex_t btgt)
err
=
0
;
err
=
0
;
if
(
!
lkup
->
dirren
.
drinfo
)
if
(
!
lkup
->
dirren
.
drinfo
)
goto
out
;
goto
out
;
AuDebugOn
(
lkup
->
dirren
.
ninfo
<
btgt
+
1
);
AuDebugOn
(
lkup
->
dirren
.
ninfo
<
=
btgt
);
drinfo
=
lkup
->
dirren
.
drinfo
[
btgt
+
1
];
drinfo
=
lkup
->
dirren
.
drinfo
[
btgt
];
if
(
!
drinfo
)
if
(
!
drinfo
)
goto
out
;
goto
out
;
...
@@ -1245,8 +1245,8 @@ int au_dr_lkup_h_ino(struct au_do_lookup_args *lkup, aufs_bindex_t bindex,
...
@@ -1245,8 +1245,8 @@ int au_dr_lkup_h_ino(struct au_do_lookup_args *lkup, aufs_bindex_t bindex,
match
=
1
;
match
=
1
;
if
(
!
lkup
->
dirren
.
drinfo
)
if
(
!
lkup
->
dirren
.
drinfo
)
goto
out
;
goto
out
;
AuDebugOn
(
lkup
->
dirren
.
ninfo
<
bindex
+
1
);
AuDebugOn
(
lkup
->
dirren
.
ninfo
<
=
bindex
);
drinfo
=
lkup
->
dirren
.
drinfo
[
bindex
+
1
];
drinfo
=
lkup
->
dirren
.
drinfo
[
bindex
];
if
(
!
drinfo
)
if
(
!
drinfo
)
goto
out
;
goto
out
;
...
...
include/uapi/linux/aufs_type.h
View file @
c6cee59b
...
@@ -47,6 +47,7 @@
...
@@ -47,6 +47,7 @@
/* ---------------------------------------------------------------------- */
/* ---------------------------------------------------------------------- */
#ifdef __KERNEL__
#ifdef CONFIG_AUFS_BRANCH_MAX_127
#ifdef CONFIG_AUFS_BRANCH_MAX_127
typedef
int8_t
aufs_bindex_t
;
typedef
int8_t
aufs_bindex_t
;
#define AUFS_BRANCH_MAX 127
#define AUFS_BRANCH_MAX 127
...
@@ -61,7 +62,6 @@ typedef int16_t aufs_bindex_t;
...
@@ -61,7 +62,6 @@ typedef int16_t aufs_bindex_t;
#endif
#endif
#endif
#endif
#ifdef __KERNEL__
#ifndef AUFS_BRANCH_MAX
#ifndef AUFS_BRANCH_MAX
#error unknown CONFIG_AUFS_BRANCH_MAX value
#error unknown CONFIG_AUFS_BRANCH_MAX value
#endif
#endif
...
...
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