Hello:
       This fix may be insignificant, beacuse the memory leak have
little chance to happen. Anyway, I post this patch.

diff -r 6c243ad8dddf inode.c
--- a/inode.c   Fri Jan 18 10:54:22 2008 -0500
+++ b/inode.c   Thu Jan 24 00:19:04 2008 +0800
@@ -1763,7 +1763,7 @@ static int btrfs_mkdir(struct inode *dir
        err = btrfs_find_free_objectid(trans, root, dir->i_ino, &objectid);
        if (err) {
                err = -ENOSPC;
-               goto out_unlock;
+               goto out_fail;
        }
-- 
Thanks & Best Regards

Liu Hui

_______________________________________________
Btrfs-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/btrfs-devel

Reply via email to