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
fc5023ea
Commit
fc5023ea
authored
May 19, 2019
by
J. R. Okajima
Browse files
Merge branch 'aufs5.x-rcN/30stdalone' into aufs5.x-rcN/39public
parents
d1c7ba85
10ba7e13
Changes
5
Show whitespace changes
Inline
Side-by-side
fs/aufs/dynop.c
View file @
fc5023ea
...
...
@@ -354,9 +354,6 @@ void __init au_dy_init(void)
{
int
i
;
/* make sure that 'struct au_dykey *' can be any type */
BUILD_BUG_ON
(
offsetof
(
struct
au_dyaop
,
da_key
));
for
(
i
=
0
;
i
<
AuDyLast
;
i
++
)
INIT_HLIST_BL_HEAD
(
dynop
+
i
);
}
...
...
fs/aufs/dynop.h
View file @
fc5023ea
...
...
@@ -57,6 +57,8 @@ struct au_dyaop {
struct
au_dykey
da_key
;
struct
address_space_operations
da_op
;
/* not const */
};
/* make sure that 'struct au_dykey *' can be any type */
static_assert
(
!
offsetof
(
struct
au_dyaop
,
da_key
));
/* ---------------------------------------------------------------------- */
...
...
fs/aufs/hnotify.c
View file @
fc5023ea
...
...
@@ -585,7 +585,7 @@ int au_hnotify(struct inode *h_dir, struct au_hnotify *hnotify, u32 mask,
flags
[
AuHn_CHILD
]
=
AuHnJob_ISDIR
;
au_fset_hnjob
(
flags
[
AuHn_PARENT
],
DIRENT
);
au_fset_hnjob
(
flags
[
AuHn_CHILD
],
GEN
);
switch
(
mask
&
FS_EVENTS_POSS_ON_CHILD
)
{
switch
(
mask
&
ALL_FSNOTIFY_DIRENT_EVENTS
)
{
case
FS_MOVED_FROM
:
case
FS_MOVED_TO
:
au_fset_hnjob
(
flags
[
AuHn_CHILD
],
XINO0
);
...
...
fs/aufs/loop.c
View file @
fc5023ea
...
...
@@ -129,7 +129,7 @@ int au_loopback_init(void)
int
err
;
struct
super_block
*
sb
__maybe_unused
;
BUILD_BUG_ON
(
sizeof
(
sb
->
s_magic
)
!=
sizeof
(
unsigned
long
));
BUILD_BUG_ON
(
sizeof
(
sb
->
s_magic
)
!=
sizeof
(
*
au_warn_loopback_array
));
err
=
0
;
au_warn_loopback_array
=
kcalloc
(
au_warn_loopback_step
,
...
...
fs/aufs/super.h
View file @
fc5023ea
...
...
@@ -438,7 +438,7 @@ static inline void dbgaufs_si_null(struct au_sbinfo *sbinfo)
/* current->atomic_flags */
/* this value should never corrupt the ones defined in linux/sched.h */
#define PFA_AUFS
7
#define PFA_AUFS
0x10
TASK_PFA_TEST
(
AUFS
,
test_aufs
)
/* task_test_aufs */
TASK_PFA_SET
(
AUFS
,
aufs
)
/* task_set_aufs */
...
...
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