This attempt is to remove the use of AOP_FLAG_NOFS and replacing it with the new scope API of memory allocation memalloc_nofs_save() and memalloc_nofs_restore(). Since we change to scope based memory allocation, we no longer need AOP_FLAGS_NOFS parameters and hence this flag was removeed. The only other parameter is AOP_FLAGS_CONT_EXPAND. Since this is only used by reiserfs, we can remove that by creating a function within reiserfs. With all usages of AOP flags removed, address_operations.write_begin() prototype becomes a little smaller: by removing the flags parameter. Git: https://github.com/goldwynr/linux/tree/nofs -- Goldwyn