Re: Kernel errors with overlay filesystem v22

From: David Howells
Date: Thu May 29 2014 - 07:29:33 EST



This sequence of commands produces both errors:

mount -t tmpfs lower_layer /lower
mount -t tmpfs upper_layer /upper
mkdir /upper/upper
mkdir /upper/work
mount -t overlayfs overlayfs /mnt -olowerdir=/lower,upperdir=/upper/upper,workdir=/upper/work
# The lockdep error was reported in the above mount command
umount /mnt
umount /upper
# The dentry leak error was reported in the last umount command

where /lower, /upper and /mnt are preexisting directories.

Note that prior to this, mounting and unmounting a tmpfs filesystem worked
with no errors.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/