On Thu, Dec 10, 2015 at 01:47:12PM +0100, Roman Pen wrote: > Directory inodes should start off with i_nlink == 2 (for "." entry). > Of course the same rule should be applied to automount dentries for > child and parent inodes as well. > > Also now automount dentry does fsnotify_mkdir. > > Without this patch kernel complains when sees i_nlink == 0:
How can the kernel see this? What did you do to trigger this? thanks, greg k-h