diff options
Diffstat (limited to 'fs/gfs2/inode.c')
-rw-r--r-- | fs/gfs2/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index 2f94bd723698..f9b4fe886540 100644 --- a/fs/gfs2/inode.c +++ b/fs/gfs2/inode.c | |||
@@ -731,7 +731,7 @@ static int alloc_dinode(struct gfs2_inode *dip, u64 *no_addr, u64 *generation) | |||
731 | if (error) | 731 | if (error) |
732 | goto out_ipreserv; | 732 | goto out_ipreserv; |
733 | 733 | ||
734 | *no_addr = gfs2_alloc_di(dip, generation); | 734 | error = gfs2_alloc_di(dip, no_addr, generation); |
735 | 735 | ||
736 | gfs2_trans_end(sdp); | 736 | gfs2_trans_end(sdp); |
737 | 737 | ||