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
This commit is contained in:
parent
7b9bcad939
commit
590517d05a
@ -308,7 +308,6 @@ ext2_balloc(struct inode *ip, e2fs_lbn_t lbn, int size, struct ucred *cred,
|
|||||||
*/
|
*/
|
||||||
if ((error = bwrite(nbp)) != 0) {
|
if ((error = bwrite(nbp)) != 0) {
|
||||||
ext2_blkfree(ip, nb, fs->e2fs_bsize);
|
ext2_blkfree(ip, nb, fs->e2fs_bsize);
|
||||||
EXT2_UNLOCK(ump);
|
|
||||||
brelse(bp);
|
brelse(bp);
|
||||||
return (error);
|
return (error);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user