From: Bob Peterson Date: Tue, 5 Apr 2016 13:11:03 -0400 (EDT) Subject: [Cluster-devel] [PATCH 1/2] gfs2_edit: Don't hijack bh->b_data in read_master_dir In-Reply-To: <1459865009-14109-1-git-send-email-anprice@redhat.com> References: <1459865009-14109-1-git-send-email-anprice@redhat.com> Message-ID: <1272159287.47934913.1459876263383.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 ----- > read_master_dir() reads data that doesn't match the bh's metadata into > bh->b_data, which confuses display() later when it checks whether > re-reading the block is required. Use bread() in read_master_dir() > instead to keep the bh consistent, and make sure read_superblock() > doesn't leak the buffer earlier. > > Signed-off-by: Andrew Price > --- Hi, ACK Regards, Bob Peterson Red Hat File Systems