fs/unionfs/inode.c |   28 ++++++++--------------------
 1 files changed, 8 insertions(+), 20 deletions(-)

New commits:
commit 2c222217c519658e21a3b1f17cdb3baf92629e74
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date:   Tue Jul 3 09:14:39 2007 -0400

    Unionfs: prevent deadlock with branch-management code.
    
    Don't grab the superblock read-lock in unionfs_permission, which prevents a
    deadlock with the branch-management "add branch" code (which grabbed the
    write lock).  It is safe to not grab the read lock here, because even with
    branch management taking place, there is no chance that unionfs_permission,
    or anything it calls, will use stale branch information.
    
    Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>

_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to