X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=fs%2Fcifs%2Ffile.c;h=ae82159cf7fa6921bb3a27a1fc5e56fbb1045a5c;hp=398a15a99a1b61e67995a6768eab9f2a21ce079d;hb=b4020c1b198c0f0c0b0ff0cfdd824a26b93edd6f;hpb=d3686d54c7902a303bd65d751226aa1647319863 diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 398a15a99a1b..ae82159cf7fa 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c @@ -1302,7 +1302,6 @@ static int cifs_partialpagewrite(struct page *page, unsigned from, unsigned to) static int cifs_writepages(struct address_space *mapping, struct writeback_control *wbc) { - struct backing_dev_info *bdi = mapping->backing_dev_info; unsigned int bytes_to_write; unsigned int bytes_written; struct cifs_sb_info *cifs_sb; @@ -1325,15 +1324,6 @@ static int cifs_writepages(struct address_space *mapping, int scanned = 0; int xid, long_op; - /* - * BB: Is this meaningful for a non-block-device file system? - * If it is, we should test it again after we do I/O - */ - if (wbc->nonblocking && bdi_write_congested(bdi)) { - wbc->encountered_congestion = 1; - return 0; - } - cifs_sb = CIFS_SB(mapping->host->i_sb); /*