From: "J. R. Okajima" <hooanon...@gmail.com>

commit 25f5c5fdcb1b6c2a47f58b59c74547538b7b7c2a aufs5-standalone upstream.

The parameter "void *data" is NULL in unmounting.

Reported-by: PB on github
Signed-off-by: J. R. Okajima <hooanon...@gmail.com>
See-also: https://github.com/sfjro/aufs5-standalone/issues/9
Signed-off-by: Paul Gortmaker <paul.gortma...@windriver.com>
---
 fs/aufs/fsctx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/aufs/fsctx.c b/fs/aufs/fsctx.c
index eb305670c358..e5622fc17d60 100644
--- a/fs/aufs/fsctx.c
+++ b/fs/aufs/fsctx.c
@@ -1104,7 +1104,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] = '=';
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11080): 
https://lists.yoctoproject.org/g/linux-yocto/message/11080
Mute This Topic: https://lists.yoctoproject.org/mt/90000715/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to