lkml.org 
[lkml]   [2008]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 06/14] hfsplus: remove hfsplus_permission()
Hi,

On Fri, 23 May 2008, Miklos Szeredi wrote:

> Semi-concrete: link(2) locks the target's parent and the source.
> Cross-directory rename(2) locks both parents. If link's target is a
> file which has children, this can result in an ABBA deadlock. That's
> _before_ the filesystem's ->link() or ->rename() function is called.

I'm afraid you have to be more concrete than this.
hfsplus_file_inode_operations doesn't have a link or rename operation, so
if one your source parents above involves a file, it shouldn't get this
far or you have to describe your scenario in more detail.

bye, Roman


\
 
 \ /
  Last update: 2008-05-23 23:57    [W:0.047 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site