As VFS expects, i_count.counter field should be incremented when the named inode is found.
Signed-off-by: Salah Triki <salah.tr...@acm.org> --- fs/befs/linuxvfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index 91740dd..1a67990 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c @@ -198,6 +198,8 @@ befs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) d_add(dentry, inode); + inode->i_count.counter++; + befs_debug(sb, "<--- %s", __func__); return NULL; -- 1.9.1