[lkml]   [2012]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] killing boilerplate checks in ->link/->mkdir/->rename
On Fri, Feb 03, 2012 at 01:16:12AM +0000, Al Viro wrote:

> * ubifs, hfsplus, jffs2 - definitely broken if you create enough
> links. i_nlink wraparound to zero, confused inode eviction logics.

BTW, ubifs plays funny games with i_nlink - decrements it early in
unlink/rmdir/rename and then increments it back on failure. *If*
we really want it that way, we need to use set_nlink() there. Frankly,
I'd rather deal with drop_nlink() after the last possible failure
exit... Unless there are serious reasons why that wouldn't work, that is.

 \ /
  Last update: 2012-02-03 18:11    [W:0.108 / U:0.080 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site