Re: [PATCH 43/58] switch ocfs2 to ->evict_inode()

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

 



On Tue, Jun 08, 2010 at 05:17:11PM -0700, Joel Becker wrote:
> 	I do think it works, though, if you check for MAYBE_ORPHANED.
> 
> 	if (inode->i_nlink && !(oi->ip_falgs & OCFS2_INODE_MAYBE_ORPHANED)) {
> 		ocfs2_cleanup_delete_inode(inode, 0);
> 		goto bail;
> 	}

Damn, that probably means we have other problems like that.  Other filesystems
that have extra "delete" cases (and do not play with i_nlink like gfs2 does)
and have non-trivial ->delete_inode().

Ho-hum...  OK, not too many.  btrfs seems to be the only one besides ocfs2.
Will fix...

I'll post replacement patches in a few.
--
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