generic_write_checks(): drop isblk argument
[firefly-linux-kernel-4.4.55.git] / fs / ceph / file.c
index 56237ea5fc227580580e8f27a308e97a7fb1c07b..761841903160223674df8b2a63464e39f9220988 100644 (file)
@@ -953,7 +953,7 @@ static ssize_t ceph_write_iter(struct kiocb *iocb, struct iov_iter *from)
        /* We can write back this queue in page reclaim */
        current->backing_dev_info = inode_to_bdi(inode);
 
-       err = generic_write_checks(file, &pos, &count, S_ISBLK(inode->i_mode));
+       err = generic_write_checks(file, &pos, &count);
        if (err)
                goto out;