]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/ufs/util.c
[PATCH] ufs: ubh_ll_rw_block cleanup
[karo-tx-linux.git] / fs / ufs / util.c
index 4685f7cb70b2ab88df400d896df8ff7d4c700ce9..a2f13f45708b7d0fa6d688579f3551176465f3bd 100644 (file)
@@ -112,13 +112,12 @@ void ubh_mark_buffer_uptodate (struct ufs_buffer_head * ubh, int flag)
        }
 }
 
-void ubh_ll_rw_block (int rw, unsigned nr, struct ufs_buffer_head * ubh[])
+void ubh_ll_rw_block(int rw, struct ufs_buffer_head *ubh)
 {
-       unsigned i;
        if (!ubh)
                return;
-       for ( i = 0; i < nr; i++ )
-               ll_rw_block (rw, ubh[i]->count, ubh[i]->bh);
+
+       ll_rw_block(rw, ubh->count, ubh->bh);
 }
 
 void ubh_wait_on_buffer (struct ufs_buffer_head * ubh)