]> git.itanic.dy.fi Git - scan-pagemap/commit
parser: get_next_pid: Do not store state internally
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Thu, 22 Jul 2010 11:19:45 +0000 (14:19 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Thu, 22 Jul 2010 11:19:45 +0000 (14:19 +0300)
commit61e824172c90540130ec29ab0a80bd80ea454c66
treed67279d4e618234c429fb5d589bb7d68057dbc05
parentc2cb0469674304a16761414a8642396af7db515a
parser: get_next_pid: Do not store state internally

Storing the directory state internally may conflict in case there are
multiple users to the get_next_pid function. The directory state is
now taken as an argument and caller will store it.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
parse.c