diff --git a/fs/gfs2/aops.c b/fs/gfs2/aops.c index 4f36f8832b9b1b167321e119260da82d89b4cdf0..aad77e4f61b574a3b29bb253a01e29046c70da55 100644 --- a/fs/gfs2/aops.c +++ b/fs/gfs2/aops.c @@ -695,6 +695,7 @@ static int gfs2_write_begin(struct file *file, struct address_space *mapping, if (error == 0) return 0; + unlock_page(page); page_cache_release(page); gfs2_trans_end(sdp);