file->f_op is never NULL...
[deliverable/linux.git] / fs / coda / dir.c
index 190effc6a6fae2e09f0826979c201c532003b1b8..8c8d469c9283f93ed49f2ee3ec47cdf9ebfb18e4 100644 (file)
@@ -387,9 +387,6 @@ static int coda_readdir(struct file *coda_file, struct dir_context *ctx)
        BUG_ON(!cfi || cfi->cfi_magic != CODA_MAGIC);
        host_file = cfi->cfi_container;
 
-       if (!host_file->f_op)
-               return -ENOTDIR;
-
        if (host_file->f_op->iterate) {
                struct inode *host_inode = file_inode(host_file);
                mutex_lock(&host_inode->i_mutex);
This page took 0.025275 seconds and 5 git commands to generate.