libfs.c: new helper - next_positive()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 6 Jun 2016 23:37:13 +0000 (19:37 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 20 Jun 2016 21:11:28 +0000 (17:11 -0400)
commit4f42c1b5b9c27b6228e6b9c57eee4beb3118b6b0
treedf1659dc2d2e7f40a124c3714cd1e29feb12755c
parent274f5b041d3c9c0974a7dd1f66b67c33bb5b0f42
libfs.c: new helper - next_positive()

Return nth positive child after given or NULL if there's
less than n left.  dcache_readdir() and dcache_dir_lseek()
switched to it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/libfs.c