Return-Path: Received: from mx2.suse.de ([195.135.220.15]:40056 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751351AbeBSOCe (ORCPT ); Mon, 19 Feb 2018 09:02:34 -0500 From: Goldwyn Rodrigues To: linux-fsdevel@vger.kernel.org Cc: mhocko@kernel.org Subject: [PATCH 00/10] Use the memalloc_nofs scope API Date: Mon, 19 Feb 2018 08:02:20 -0600 Message-Id: <20180219140230.5077-1-rgoldwyn@suse.de> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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