p4-projects@freebsd.org
[Top] [All Lists]

PERFORCE change 169623 for review

Subject: PERFORCE change 169623 for review
From: Aditya Sarawgi
Date: Tue, 20 Oct 2009 20:04:57 GMT
http://p4web.freebsd.org/chv.cgi?CH=169623

Change 169623 by truncs@aditya on 2009/10/20 20:04:03

        Unlock fs when allocation fails due to lack of space.

Affected files ...

.. //depot/projects/soc2009/soc_ext2fs/src/sys/fs/ext2fs/ext2_alloc.c#13 edit

Differences ...

==== //depot/projects/soc2009/soc_ext2fs/src/sys/fs/ext2fs/ext2_alloc.c#13 
(text+ko) ====

@@ -136,6 +136,7 @@
                 return (0);
         }
 nospace:
+       EXT2_UNLOCK(ump);
        ext2_fserr(fs, cred->cr_uid, "file system full");
        uprintf("\n%s: write failed, file system is full\n", fs->e2fs_fsmnt);
        return (ENOSPC);
_______________________________________________
p4-projects@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/p4-projects
To unsubscribe, send any mail to "p4-projects-unsubscribe@xxxxxxxxxxx"

<Prev in Thread] Current Thread [Next in Thread>
  • PERFORCE change 169623 for review, Aditya Sarawgi <=