diff options
author | Amir Goldstein <amir73il@gmail.com> | 2019-12-22 23:47:54 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-01-22 22:11:41 +0300 |
commit | 4c37e71b713ecffe81f8e6273c6835e54306d412 (patch) | |
tree | fbc89e7bf69502648b4dac7362f9fb2a5f1eb24e /Makefile | |
parent | def9d2780727cec3313ed3522d0123158d87224d (diff) | |
download | linux-4c37e71b713ecffe81f8e6273c6835e54306d412.tar.xz |
ovl: fix wrong WARN_ON() in ovl_cache_update_ino()
The WARN_ON() that child entry is always on overlay st_dev became wrong
when we allowed this function to update d_ino in non-samefs setup with xino
enabled.
It is not true in case of xino bits overflow on a non-dir inode. Leave the
WARN_ON() only for directories, where assertion is still true.
Fixes: adbf4f7ea834 ("ovl: consistent d_ino for non-samefs with xino")
Cc: <stable@vger.kernel.org> # v4.17+
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions