commit | 08d8f8a5b094b66b29936e8751b4a818b8db1207 | [log] [tgz] |
---|---|---|
author | Vivek Goyal <vgoyal@redhat.com> | Mon Nov 27 10:12:44 2017 -0500 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Mon Dec 11 11:28:10 2017 +0100 |
tree | 7d3caa52694037484bc97e72011eda2f6c37dd1a | |
parent | 438c84c2f0c794f75ab55ce65c505b01bfce4480 [diff] |
ovl: Pass ovl_get_nlink() parameters in right order Right now we seem to be passing index as "lowerdentry" and origin.dentry as "upperdentry". IIUC, we should pass these parameters in reversed order and this looks like a bug. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Acked-by: Amir Goldstein <amir73il@gmail.com> Fixes: caf70cb2ba5d ("ovl: cleanup orphan index entries") Cc: <stable@vger.kernel.org> #v4.13 Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>