diff for duplicates of <1265885996-21982-1-git-send-email-dmonakhov@openvz.org>
diff --git a/a/1.txt b/N1/1.txt
index cfed153..c7b5ad5 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -71,23 +71,4 @@ index 765a482..ff4473a 100644
- bio->bi_private = &event;
- bio->bi_end_io = bi_complete;
- submit_bio(WRITE, bio);
-- wait_for_completion(&event);
--
-- if (test_bit(BIO_UPTODATE, &bio->bi_flags))
-- ret = 0;
-- else {
-- ret = -EIO;
-- break;
-- }
-- bio_put(bio);
-- ee_len -= done;
-- ee_pblock += done << (blkbits - 9);
-- }
-- return ret;
-+ return blkdev_issue_zeroout(inode->i_sb->s_bdev, ext_pblock(ex),
-+ nr_sects, UINT_MAX >> 9, GFP_NOIO, WRITE);
- }
-
- #define EXT4_EXT_ZERO_LEN 7
---
-1.6.6
\ No newline at end of file
+- wait_for_completion(&event);
\ No newline at end of file
diff --git a/a/content_digest b/N1/content_digest
index af6bb29..5ea1ab6 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -98,26 +98,7 @@
"-\t\tbio->bi_private = &event;\n",
"-\t\tbio->bi_end_io = bi_complete;\n",
"-\t\tsubmit_bio(WRITE, bio);\n",
- "-\t\twait_for_completion(&event);\n",
- "-\n",
- "-\t\tif (test_bit(BIO_UPTODATE, &bio->bi_flags))\n",
- "-\t\t\tret = 0;\n",
- "-\t\telse {\n",
- "-\t\t\tret = -EIO;\n",
- "-\t\t\tbreak;\n",
- "-\t\t}\n",
- "-\t\tbio_put(bio);\n",
- "-\t\tee_len -= done;\n",
- "-\t\tee_pblock += done << (blkbits - 9);\n",
- "-\t}\n",
- "-\treturn ret;\n",
- "+\treturn blkdev_issue_zeroout(inode->i_sb->s_bdev, ext_pblock(ex),\n",
- "+\t\t\t\tnr_sects, UINT_MAX >> 9, GFP_NOIO, WRITE);\n",
- " }\n",
- " \n",
- " #define EXT4_EXT_ZERO_LEN 7\n",
- "-- \n",
- "1.6.6"
+ "-\t\twait_for_completion(&event);"
]
-b4d66541f973bf8eb7ae33abf1471ae6e9a7c01eeb493d33d8b6b4130f8f1e05
+46ae65f79cd32f56b59c7c714698a1e4001f3c8c2e15f939e8dfc0ce460ee8e1
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.