commit 60f319ba4ef56b0787b0364368ac27686e31e453
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Sat Nov 17 23:38:17 2007 -0500
Unionfs: don't printk an error if it's due to common copyup
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
diff --git a/fs/unionfs/rename.c b/fs/unionfs/rename.c
index 3e1adde..43a7b01 100644
--- a/fs/unionfs/rename.c
+++ b/fs/unionfs/rename.c
@@ -90,7 +90,7 @@ static int __unionfs_rename(struct inode *old_dir, struct
dentry *old_dentry,
bindex);
if (IS_ERR(lower_new_dentry)) {
err = PTR_ERR(lower_new_dentry);
- if (err == -EROFS)
+ if (IS_COPYUP_ERR(err))
goto out;
printk(KERN_ERR "unionfs: error creating directory "
"tree for rename, bindex=%d err=%d\n",
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs