diff --git a/fs/aufs/fsctx.c b/fs/aufs/fsctx.c index aa9b444438c20e..739531e2d29087 100644 --- a/fs/aufs/fsctx.c +++ b/fs/aufs/fsctx.c @@ -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] = '=';