diff --git a/fs/overlayfs/inode.c b/fs/overlayfs/inode.c index b584dca845baa21b15e212c25bacb2ac176c4371..1688ae7e3438053051806c440389d216265b15bc 100644 --- a/fs/overlayfs/inode.c +++ b/fs/overlayfs/inode.c @@ -476,7 +476,7 @@ static int ovl_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, u64 start, u64 len) { int err; - struct inode *realinode = ovl_inode_real(inode); + struct inode *realinode = ovl_inode_realdata(inode); const struct cred *old_cred; if (!realinode->i_op->fiemap)