]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/gfs2/ops_address.c
[GFS2] Add an additional argument to gfs2_trans_add_bh()
[mirror_ubuntu-bionic-kernel.git] / fs / gfs2 / ops_address.c
index 0aa5f140ddb12d3136c161b93dc98daa20066317..d352b3528f5e23fd66cef38842a0408f9b4f753b 100644 (file)
@@ -368,7 +368,7 @@ static int gfs2_commit_write(struct file *file, struct page *page,
                if (error)
                        goto fail;
 
-               gfs2_trans_add_bh(ip->i_gl, dibh);
+               gfs2_trans_add_bh(ip->i_gl, dibh, 1);
 
                kaddr = kmap(page);
                memcpy(dibh->b_data + sizeof(struct gfs2_dinode) + from,