diff options
Diffstat (limited to 'fs/ufs/util.c')
-rw-r--r-- | fs/ufs/util.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/ufs/util.c b/fs/ufs/util.c index 4685f7cb70b2..a2f13f45708b 100644 --- a/fs/ufs/util.c +++ b/fs/ufs/util.c | |||
@@ -112,13 +112,12 @@ void ubh_mark_buffer_uptodate (struct ufs_buffer_head * ubh, int flag) | |||
112 | } | 112 | } |
113 | } | 113 | } |
114 | 114 | ||
115 | void ubh_ll_rw_block (int rw, unsigned nr, struct ufs_buffer_head * ubh[]) | 115 | void ubh_ll_rw_block(int rw, struct ufs_buffer_head *ubh) |
116 | { | 116 | { |
117 | unsigned i; | ||
118 | if (!ubh) | 117 | if (!ubh) |
119 | return; | 118 | return; |
120 | for ( i = 0; i < nr; i++ ) | 119 | |
121 | ll_rw_block (rw, ubh[i]->count, ubh[i]->bh); | 120 | ll_rw_block(rw, ubh->count, ubh->bh); |
122 | } | 121 | } |
123 | 122 | ||
124 | void ubh_wait_on_buffer (struct ufs_buffer_head * ubh) | 123 | void ubh_wait_on_buffer (struct ufs_buffer_head * ubh) |