Srinivasa Ds <srinivasa@xxxxxxxxxx> wrote: > Cause for this problem is 2 different inodes are getting locked recursively. > One is /proc/fs/cachefiles and other is /var/fscache. > cachefiles_proc_write() locks /proc/fs/cachefiles before writing and > cachefiles_proc_bind() locks /var/fscache directory to get dentry object for > cache and graveyard directories. Yep. This one's actually a weakness in the way lockdep works, and not really a CacheFiles bug. I'm aware of this and a number of other issues with lockdep, not all of which can be solved so easily. > Another bug I could able to find out was in cachefiles_check_object_type() > where mutex being unlocked twice. Yes. I'm aware of this one too. This is definitely a bug in CacheFiles. David