Author: fsu
Date: Sun Jul  7 08:53:52 2019
New Revision: 349800
URL: https://svnweb.freebsd.org/changeset/base/349800

Log:
  Remove unneeded mount point unlock call.
  
  Reported by:    Christopher Krah, Thomas Barabosch, and Jan-Niclas Hilgert of 
Fraunhofer FKIE
  Reported as:    FS-11-EXT2-6: Denial Of Service in write-1 (ext2_balloc)
  
  MFC after:    2 weeks

Modified:
  head/sys/fs/ext2fs/ext2_balloc.c

Modified: head/sys/fs/ext2fs/ext2_balloc.c
==============================================================================
--- head/sys/fs/ext2fs/ext2_balloc.c    Sun Jul  7 06:57:04 2019        
(r349799)
+++ head/sys/fs/ext2fs/ext2_balloc.c    Sun Jul  7 08:53:52 2019        
(r349800)
@@ -308,7 +308,6 @@ ext2_balloc(struct inode *ip, e2fs_lbn_t lbn, int size
                 */
                if ((error = bwrite(nbp)) != 0) {
                        ext2_blkfree(ip, nb, fs->e2fs_bsize);
-                       EXT2_UNLOCK(ump);
                        brelse(bp);
                        return (error);
                }
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to