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 <[email protected]>
Acked-by: Amir Goldstein <[email protected]>
Fixes: caf70cb2ba5d ("ovl: cleanup orphan index entries")
Cc: <[email protected]> #v4.13
Signed-off-by: Miklos Szeredi <[email protected]>
1 file changed