ovl: Add an alternative type of whiteout
[linux-2.6-microblaze.git] / fs / overlayfs / super.c
index 0a42a25..1a95ee2 100644 (file)
@@ -585,7 +585,7 @@ static int ovl_check_rename_whiteout(struct ovl_fs *ofs)
        if (IS_ERR(whiteout))
                goto cleanup_temp;
 
-       err = ovl_is_whiteout(whiteout);
+       err = ovl_upper_is_whiteout(ofs, whiteout);
 
        /* Best effort cleanup of whiteout and temp file */
        if (err)