|
@@ -2379,8 +2379,7 @@ int generic_cont_expand_simple(struct inode *inode, loff_t size)
|
|
|
goto out;
|
|
|
|
|
|
err = pagecache_write_begin(NULL, mapping, size, 0,
|
|
|
- AOP_FLAG_UNINTERRUPTIBLE|AOP_FLAG_CONT_EXPAND,
|
|
|
- &page, &fsdata);
|
|
|
+ AOP_FLAG_CONT_EXPAND, &page, &fsdata);
|
|
|
if (err)
|
|
|
goto out;
|
|
|
|
|
@@ -2415,9 +2414,8 @@ static int cont_expand_zero(struct file *file, struct address_space *mapping,
|
|
|
}
|
|
|
len = PAGE_SIZE - zerofrom;
|
|
|
|
|
|
- err = pagecache_write_begin(file, mapping, curpos, len,
|
|
|
- AOP_FLAG_UNINTERRUPTIBLE,
|
|
|
- &page, &fsdata);
|
|
|
+ err = pagecache_write_begin(file, mapping, curpos, len, 0,
|
|
|
+ &page, &fsdata);
|
|
|
if (err)
|
|
|
goto out;
|
|
|
zero_user(page, zerofrom, len);
|
|
@@ -2449,9 +2447,8 @@ static int cont_expand_zero(struct file *file, struct address_space *mapping,
|
|
|
}
|
|
|
len = offset - zerofrom;
|
|
|
|
|
|
- err = pagecache_write_begin(file, mapping, curpos, len,
|
|
|
- AOP_FLAG_UNINTERRUPTIBLE,
|
|
|
- &page, &fsdata);
|
|
|
+ err = pagecache_write_begin(file, mapping, curpos, len, 0,
|
|
|
+ &page, &fsdata);
|
|
|
if (err)
|
|
|
goto out;
|
|
|
zero_user(page, zerofrom, len);
|