commit | 2c3d73589adc6d3450890a6f793e5e8a1ae894e0 | [log] [tgz] |
---|---|---|
author | Vivek Goyal <vgoyal@redhat.com> | Fri May 11 11:49:31 2018 -0400 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Fri Jul 20 09:56:12 2018 +0200 |
tree | ec83c4ebcdd9f6a0885ad9a28add2cdb78ac9321 | |
parent | 8c444d2a971fdccda670e874f12443627f028fbc [diff] |
ovl: Do not expose metacopy only dentry from d_real() Metacopy dentry/inode is internal to overlay and is never exposed outside of it. Exception is metacopy upper file used for fsync(). Modify d_real() to look for dentries/inode which have data, but also allow matching upper inode without data for the fsync case. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>