Merge remote-tracking branch 'iommu/next'
[deliverable/linux.git] / fs / cachefiles / namei.c
index 3f7c2cd41f8fd927f659b1363fa22f57e63b7614..9828850d88de29bf748f1fc15c368fb2a47cdea0 100644 (file)
@@ -804,8 +804,7 @@ struct dentry *cachefiles_get_directory(struct cachefiles_cache *cache,
            !d_backing_inode(subdir)->i_op->lookup ||
            !d_backing_inode(subdir)->i_op->mkdir ||
            !d_backing_inode(subdir)->i_op->create ||
-           (!d_backing_inode(subdir)->i_op->rename &&
-            !d_backing_inode(subdir)->i_op->rename2) ||
+           !d_backing_inode(subdir)->i_op->rename ||
            !d_backing_inode(subdir)->i_op->rmdir ||
            !d_backing_inode(subdir)->i_op->unlink)
                goto check_error;
This page took 0.058007 seconds and 5 git commands to generate.