ovl: fix working on distributed fs as lower layer
authorKonstantin Khlebnikov <koct9i@gmail.com>
Sun, 31 Jan 2016 13:22:16 +0000 (16:22 +0300)
committerMiklos Szeredi <miklos@szeredi.hu>
Thu, 3 Mar 2016 16:17:45 +0000 (17:17 +0100)
commitb5891cfab08fe3144a616e8e734df7749fb3b7d0
tree5d2e99fd9644be1d623630408fbc4ceab74629bc
parentfc77dbd34c5c99bce46d40a2491937c3bcbd10af
ovl: fix working on distributed fs as lower layer

This adds missing .d_select_inode into alternative dentry_operations.

Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
Fixes: 7c03b5d45b8e ("ovl: allow distributed fs as lower layer")
Fixes: 4bacc9c9234c ("overlayfs: Make f_path always point to the overlay and f_inode to the underlay")
Reviewed-by: Nikolay Borisov <kernel@kyup.com>
Tested-by: Nikolay Borisov <kernel@kyup.com>
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Cc: <stable@vger.kernel.org> # 4.2+
fs/overlayfs/super.c