diff options
author | Evgeniy Dushistov <dushistov@mail.ru> | 2006-06-25 08:47:31 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:01:04 -0400 |
commit | 098d5af7be694c66af44093f7217da3d22af1057 (patch) | |
tree | 6bd0fddb63e63bab540b14edc5b7591abc2d91ba /fs/ufs/ialloc.c | |
parent | ee3ffd6c126323693b3b32a71a1f1acfce30bd66 (diff) |
[PATCH] ufs: ubh_ll_rw_block cleanup
In ufs code there is function: ubh_ll_rw_block, it has parameter how many
ufs_buffer_head it should handle, but it always called with "1" on the place
of this parameter. This patch removes unused parameter of "ubh_ll_wr_block".
Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ufs/ialloc.c')
-rw-r--r-- | fs/ufs/ialloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ufs/ialloc.c b/fs/ufs/ialloc.c index 6d7527350026..9501dcd3b213 100644 --- a/fs/ufs/ialloc.c +++ b/fs/ufs/ialloc.c | |||
@@ -116,7 +116,7 @@ void ufs_free_inode (struct inode * inode) | |||
116 | ubh_mark_buffer_dirty (USPI_UBH(uspi)); | 116 | ubh_mark_buffer_dirty (USPI_UBH(uspi)); |
117 | ubh_mark_buffer_dirty (UCPI_UBH(ucpi)); | 117 | ubh_mark_buffer_dirty (UCPI_UBH(ucpi)); |
118 | if (sb->s_flags & MS_SYNCHRONOUS) { | 118 | if (sb->s_flags & MS_SYNCHRONOUS) { |
119 | ubh_ll_rw_block (SWRITE, 1, (struct ufs_buffer_head **) &ucpi); | 119 | ubh_ll_rw_block(SWRITE, UCPI_UBH(ucpi)); |
120 | ubh_wait_on_buffer (UCPI_UBH(ucpi)); | 120 | ubh_wait_on_buffer (UCPI_UBH(ucpi)); |
121 | } | 121 | } |
122 | 122 | ||
@@ -240,7 +240,7 @@ cg_found: | |||
240 | ubh_mark_buffer_dirty (USPI_UBH(uspi)); | 240 | ubh_mark_buffer_dirty (USPI_UBH(uspi)); |
241 | ubh_mark_buffer_dirty (UCPI_UBH(ucpi)); | 241 | ubh_mark_buffer_dirty (UCPI_UBH(ucpi)); |
242 | if (sb->s_flags & MS_SYNCHRONOUS) { | 242 | if (sb->s_flags & MS_SYNCHRONOUS) { |
243 | ubh_ll_rw_block (SWRITE, 1, (struct ufs_buffer_head **) &ucpi); | 243 | ubh_ll_rw_block(SWRITE, UCPI_UBH(ucpi)); |
244 | ubh_wait_on_buffer (UCPI_UBH(ucpi)); | 244 | ubh_wait_on_buffer (UCPI_UBH(ucpi)); |
245 | } | 245 | } |
246 | sb->s_dirt = 1; | 246 | sb->s_dirt = 1; |