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 | if (err) | 2352 | if (err) |
| 2353 | goto out; | 2353 | goto out; |
| 2354 | 2354 | ||
| 2355 | err = pagecache_write_begin(NULL, mapping, size, 0, | 2355 | err = pagecache_write_begin(NULL, mapping, size, 0, 0, &page, &fsdata); |
| 2356 | AOP_FLAG_CONT_EXPAND, &page, &fsdata); | ||
| 2357 | if (err) | 2356 | if (err) |
| 2358 | goto out; | 2357 | goto out; |
| 2359 | 2358 | ||
| @@ -275,7 +275,6 @@ enum positive_aop_returns { · 274 unmodified lines | |||
| 275 | AOP_TRUNCATED_PAGE = 0x80001, | 275 | AOP_TRUNCATED_PAGE = 0x80001, |
| 276 | }; | 276 | }; |
| 277 | 277 | ||
| 278 | #define AOP_FLAG_CONT_EXPAND 0x0001 /* called from cont_expand */ | ||
| 279 | #define AOP_FLAG_NOFS 0x0002 /* used by filesystem to direct | 278 | #define AOP_FLAG_NOFS 0x0002 /* used by filesystem to direct |
| 280 | * helper code (eg buffer layer) | 279 | * helper code (eg buffer layer) |
| 281 | * to clear GFP_FS from alloc */ | 280 | * to clear GFP_FS from alloc */ |