libfs: take cursors out of list when moving past the end of directory
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 20 Sep 2019 20:32:42 +0000 (16:32 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 10 Oct 2019 02:57:30 +0000 (22:57 -0400)
commit26b6c984338474b7032a3f1ee28e9d7590c225db
tree142bb8c2bc152b2843509ef35e49c22485543c23
parentd4f4de5e5ef8efde85febb6876cd3c8ab1631999
libfs: take cursors out of list when moving past the end of directory

that eliminates the last place where we accessed the tail of ->d_subdirs

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