From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Peterson Date: Thu, 12 Jan 2017 10:42:26 -0500 (EST) Subject: [Cluster-devel] [PATCH 1/5] gfs2_edit savemeta: Factor out the bh saving code In-Reply-To: <20170110143446.14419-2-anprice@redhat.com> References: <20170110143446.14419-1-anprice@redhat.com> <20170110143446.14419-2-anprice@redhat.com> Message-ID: <1084579934.10026401.1484235746295.JavaMail.zimbra@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ----- Original Message ----- | save_block() accepts a block number, reads it and saves it, which makes | it tricky to save an already-read block without reading it a second | time. Split out the bh saving part of save_block() into save_bh() to | make things more flexible. | | Also switch the return value of save_block to only convey error/success | and return the block type through an optional pointer argument instead. | | Signed-off-by: Andrew Price | --- Hi, ACK, Bob Peterson Red Hat File Systems