This flag is no longer used, so remove it.
Unified · Split
| @@ -2352,8 +2352,7 @@ int generic_cont_expand_simple(struct inode *inode, loff_t size) · 2351 unmodified lines | ||
| 2352 | 2352 | if (err) |
| 2353 | 2353 | goto out; |
| 2354 | 2354 | |
| 2355 | − err = pagecache_write_begin(NULL, mapping, size, 0, | |
| 2356 | − AOP_FLAG_CONT_EXPAND, &page, &fsdata); | |
| 2355 | + err = pagecache_write_begin(NULL, mapping, size, 0, 0, &page, &fsdata); | |
| 2357 | 2356 | if (err) |
| 2358 | 2357 | goto out; |
| 2359 | 2358 | |
| @@ -275,7 +275,6 @@ enum positive_aop_returns { · 274 unmodified lines | ||
| 275 | 275 | AOP_TRUNCATED_PAGE = 0x80001, |
| 276 | 276 | }; |
| 277 | 277 | |
| 278 | −#define AOP_FLAG_CONT_EXPAND 0x0001 /* called from cont_expand */ | |
| 279 | 278 | #define AOP_FLAG_NOFS 0x0002 /* used by filesystem to direct |
| 280 | 279 | * helper code (eg buffer layer) |
| 281 | 280 | * to clear GFP_FS from alloc */ |