inotify_unmount_inodes badness?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



inotify_unmount_inodes does this hairly looking thing with
list_for_each_entry_safe, where it tries to take a reference
to the "next" inode as well as the current, before dropping
inode_lock. But it doesn't take a reference on inodes without
a refcount, or I_CLEAR|I_FREEING|I_WILL_FREE inodes before
dropping the lock. Can't these guys just go away at any time?

Why does it need the safe list traveral anyway (which is causing
this complexity)? We don't remove the inode from its sb list
here, do we??

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux