Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 2009 20:04:57 GMT
From:      Aditya Sarawgi <truncs@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 169623 for review
Message-ID:  <200910202004.n9KK4v0r099796@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910202004.n9KK4v0r099796>