diff options
Diffstat (limited to 'sys/gnu/fs/ext2fs/fs.h')
-rw-r--r-- | sys/gnu/fs/ext2fs/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/fs/ext2fs/fs.h b/sys/gnu/fs/ext2fs/fs.h index c12c708..9c0cf71 100644 --- a/sys/gnu/fs/ext2fs/fs.h +++ b/sys/gnu/fs/ext2fs/fs.h @@ -168,9 +168,9 @@ extern u_char *fragtbl[]; long flags; \ int s; \ s = splbio(); \ + BUF_LOCK(bp, LK_EXCLUSIVE, NULL); \ flags = (bp)->b_flags; \ (bp)->b_flags &= ~(B_DIRTY | B_LOCKED); \ - BUF_LOCK(bp, LK_EXCLUSIVE, NULL); \ bremfree(bp); \ splx(s); \ if (flags & B_DIRTY) \ |