diff options
author | Amir Goldstein <amir73il@gmail.com> | 2018-04-11 20:09:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-19 09:55:13 +0300 |
commit | c4f45cf301e6fc024ef5eb3eca234c659d751cb8 (patch) | |
tree | aad96c26702fb581abdab8c35f43d003d9576678 /fs/ufs | |
parent | 9def916c750d9f87527931b13e766f381a3a3811 (diff) | |
download | linux-c4f45cf301e6fc024ef5eb3eca234c659d751cb8.tar.xz |
ovl: set lower layer st_dev only if setting lower st_ino
commit 9f99e50d460ac7fd5f6c9b97aad0088c28c8656d upstream.
For broken hardlinks, we do not return lower st_ino, so we should
also not return lower pseudo st_dev.
Fixes: a0c5ad307ac0 ("ovl: relax same fs constraint for constant st_ino")
Cc: <stable@vger.kernel.org> #v4.15
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ufs')
0 files changed, 0 insertions, 0 deletions