ssize_t nr_read;
 
                        /*
-                        * Concurrently read /proc/<pid>/fd/ which rougly does:
+                        * Concurrently read /proc/<pid>/fd/ which roughly does:
                         *
                         * f = fget_task_next(p, &fd);
                         * if (!f)
 
                /*
                 * R/O pinning or pinning in a private mapping is always
                 * expected to work. Otherwise, we expect long-term R/W pinning
-                * to only succeed for special fielesystems.
+                * to only succeed for special filesystems.
                 */
                should_work = !shared || !rw ||
                              fs_supports_writable_longterm_pinning(fs_type);
 
        }
 
        if (write(fd, "1\n", 2) < 0) {
-               perror("Can' enable power floor notifications\n");
+               perror("Can't enable power floor notifications\n");
                exit(1);
        }
 
 
        }
 
        if (write(fd, "0\n", 2) < 0) {
-               perror("Can' disable workload hints\n");
+               perror("Can't disable workload hints\n");
                exit(1);
        }
 
        }
 
        if (write(fd, "1\n", 2) < 0) {
-               perror("Can' enable workload hints\n");
+               perror("Can't enable workload hints\n");
                exit(1);
        }