diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2021-06-17 21:36:50 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2021-06-29 10:56:51 +0200 |
commit | 7a607a41cdc6c6f27b8e234cb44ce57070513dac (patch) | |
tree | d5aecbe6110a26df517a9bf41e3f44572a0f0954 /fs/gfs2/quota.c | |
parent | gfs2: Unstuff before locking page in gfs2_page_mkwrite (diff) | |
download | linux-7a607a41cdc6c6f27b8e234cb44ce57070513dac.tar.xz linux-7a607a41cdc6c6f27b8e234cb44ce57070513dac.zip |
gfs2: Clean up gfs2_unstuff_dinode
Split __gfs2_unstuff_inode off from gfs2_unstuff_dinode and clean up the
code a little. All remaining callers now pass NULL as the page argument
of gfs2_unstuff_dinode, so remove that argument.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/quota.c')
-rw-r--r-- | fs/gfs2/quota.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index 94637c307cc8..be0997e24d60 100644 --- a/fs/gfs2/quota.c +++ b/fs/gfs2/quota.c @@ -825,7 +825,7 @@ static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc, u64 size; if (gfs2_is_stuffed(ip)) { - err = gfs2_unstuff_dinode(ip, NULL); + err = gfs2_unstuff_dinode(ip); if (err) return err; } |