diff options
author | Warner Losh <imp@FreeBSD.org> | 2023-03-13 20:28:51 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2023-03-13 20:38:36 +0000 |
commit | 370e009188ba90c3290b1479aa06ec98b66e140a (patch) | |
tree | 178f2fc7728c1baf77c733a3d1bf3e7b02fdddc6 | |
parent | 35b6e52c30a290e081710b87ff0be21f4941d3f4 (diff) | |
download | src-370e009188ba90c3290b1479aa06ec98b66e140a.tar.gz src-370e009188ba90c3290b1479aa06ec98b66e140a.zip |
-rw-r--r-- | usr.sbin/makefs/msdos/msdosfs_vnops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/makefs/msdos/msdosfs_vnops.c b/usr.sbin/makefs/msdos/msdosfs_vnops.c index 5bc9b495c586..c04ed6f742a1 100644 --- a/usr.sbin/makefs/msdos/msdosfs_vnops.c +++ b/usr.sbin/makefs/msdos/msdosfs_vnops.c @@ -500,6 +500,7 @@ msdosfs_wfile(const char *path, struct denode *dep, fsnode *node) cpsize = MIN((nsize - offs), blsize - on); memcpy(bp->b_data + on, dat + offs, cpsize); bwrite(bp); + brelse(bp); offs += cpsize; } |