Skip to content

Commit

Permalink
aufs: bugfix, umount passes NULL to ->parse_monolithic()
Browse files Browse the repository at this point in the history
The parameter "void *data" is NULL in unmounting.

Reported-by: PB on github
Signed-off-by: J. R. Okajima <hooanon05g@gmail.com>
See-also: sfjro/aufs-standalone#9
  • Loading branch information
sfjro committed Mar 7, 2022
1 parent ac38cd4 commit 25f5c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/aufs/fsctx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ static int au_fsctx_parse_monolithic(struct fs_context *fc, void *data)

str = data;
AuDbg("str %s\n", str);
while (1) {
while (str) {
u = is_colonopt(str);
if (u)
str[u] = '=';
Expand Down

0 comments on commit 25f5c5f

Please sign in to comment.