Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
[linux-2.6.git] / fs / ext4 / indirect.c
index 6c271115dbb6afc6cec62f3cbfd97ab2874ad9ea..b8602cde5b5af7d11f2fe3e62cc88661b8fc52b9 100644 (file)
@@ -806,10 +806,8 @@ retry:
                                 offset, nr_segs,
                                 ext4_get_block, NULL, NULL, 0);
        else {
-               ret = blockdev_direct_IO(rw, iocb, inode,
-                                inode->i_sb->s_bdev, iov,
-                                offset, nr_segs,
-                                ext4_get_block, NULL);
+               ret = blockdev_direct_IO(rw, iocb, inode, iov,
+                                offset, nr_segs, ext4_get_block);
 
                if (unlikely((rw & WRITE) && ret < 0)) {
                        loff_t isize = i_size_read(inode);