Skip to content

Commit

Permalink
Skip POSIX async I/O mappings to prevent false positive restarts (i.e…
Browse files Browse the repository at this point in the history
…. zfs-fuse).
  • Loading branch information
liske committed Dec 1, 2014
1 parent 619e6a6 commit a5fa77e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions needrestart
Expand Up @@ -304,6 +304,9 @@ if(defined($opt_l)) {
# skip special device paths
next if($path =~ m@^/(SYSV00000000$|drm$|dev/)@);

# skip aio(7) mapping
next if($path =~ m@^/\[aio\]@);

# check for non-existing libs
unless(-e $path) {
unless($path =~ m@^/tmp/@) {
Expand Down

0 comments on commit a5fa77e

Please sign in to comment.