aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ufs/balloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ufs/balloc.c')
-rw-r--r--fs/ufs/balloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ufs/balloc.c b/fs/ufs/balloc.c
index cb36d2dadef5..95b878e5c7a0 100644
--- a/fs/ufs/balloc.c
+++ b/fs/ufs/balloc.c
@@ -109,7 +109,7 @@ void ufs_free_fragments(struct inode *inode, unsigned fragment, unsigned count)
109 ubh_mark_buffer_dirty (USPI_UBH(uspi)); 109 ubh_mark_buffer_dirty (USPI_UBH(uspi));
110 ubh_mark_buffer_dirty (UCPI_UBH(ucpi)); 110 ubh_mark_buffer_dirty (UCPI_UBH(ucpi));
111 if (sb->s_flags & MS_SYNCHRONOUS) { 111 if (sb->s_flags & MS_SYNCHRONOUS) {
112 ubh_ll_rw_block (SWRITE, 1, (struct ufs_buffer_head **)&ucpi); 112 ubh_ll_rw_block(SWRITE, UCPI_UBH(ucpi));
113 ubh_wait_on_buffer (UCPI_UBH(ucpi)); 113 ubh_wait_on_buffer (UCPI_UBH(ucpi));
114 } 114 }
115 sb->s_dirt = 1; 115 sb->s_dirt = 1;
@@ -195,7 +195,7 @@ do_more:
195 ubh_mark_buffer_dirty (USPI_UBH(uspi)); 195 ubh_mark_buffer_dirty (USPI_UBH(uspi));
196 ubh_mark_buffer_dirty (UCPI_UBH(ucpi)); 196 ubh_mark_buffer_dirty (UCPI_UBH(ucpi));
197 if (sb->s_flags & MS_SYNCHRONOUS) { 197 if (sb->s_flags & MS_SYNCHRONOUS) {
198 ubh_ll_rw_block (SWRITE, 1, (struct ufs_buffer_head **)&ucpi); 198 ubh_ll_rw_block(SWRITE, UCPI_UBH(ucpi));
199 ubh_wait_on_buffer (UCPI_UBH(ucpi)); 199 ubh_wait_on_buffer (UCPI_UBH(ucpi));
200 } 200 }
201 201
@@ -521,7 +521,7 @@ ufs_add_fragments (struct inode * inode, unsigned fragment,
521 ubh_mark_buffer_dirty (USPI_UBH(uspi)); 521 ubh_mark_buffer_dirty (USPI_UBH(uspi));
522 ubh_mark_buffer_dirty (UCPI_UBH(ucpi)); 522 ubh_mark_buffer_dirty (UCPI_UBH(ucpi));
523 if (sb->s_flags & MS_SYNCHRONOUS) { 523 if (sb->s_flags & MS_SYNCHRONOUS) {
524 ubh_ll_rw_block (SWRITE, 1, (struct ufs_buffer_head **)&ucpi); 524 ubh_ll_rw_block(SWRITE, UCPI_UBH(ucpi));
525 ubh_wait_on_buffer (UCPI_UBH(ucpi)); 525 ubh_wait_on_buffer (UCPI_UBH(ucpi));
526 } 526 }
527 sb->s_dirt = 1; 527 sb->s_dirt = 1;
@@ -646,7 +646,7 @@ succed:
646 ubh_mark_buffer_dirty (USPI_UBH(uspi)); 646 ubh_mark_buffer_dirty (USPI_UBH(uspi));
647 ubh_mark_buffer_dirty (UCPI_UBH(ucpi)); 647 ubh_mark_buffer_dirty (UCPI_UBH(ucpi));
648 if (sb->s_flags & MS_SYNCHRONOUS) { 648 if (sb->s_flags & MS_SYNCHRONOUS) {
649 ubh_ll_rw_block (SWRITE, 1, (struct ufs_buffer_head **)&ucpi); 649 ubh_ll_rw_block(SWRITE, UCPI_UBH(ucpi));
650 ubh_wait_on_buffer (UCPI_UBH(ucpi)); 650 ubh_wait_on_buffer (UCPI_UBH(ucpi));
651 } 651 }
652 sb->s_dirt = 1; 652 sb->s_dirt = 1;