gfs2: Add gfs2_max_stuffed_size
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 14 Nov 2017 15:53:12 +0000 (16:53 +0100)
committerBob Peterson <rpeterso@redhat.com>
Thu, 18 Jan 2018 21:18:53 +0000 (14:18 -0700)
commit235628c5c76040b0ec206ea9ab9e017771e0d78e
treeab8a3c322a8d59ab5814a14d61f9cf6050d0d0d7
parent9db115a0e3d3814e41eb703082b83a261d81736c
gfs2: Add gfs2_max_stuffed_size

Add a small inline function for computing the maximum size of a stuffed
inode instead of open coding that in several places throughout the code.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/aops.c
fs/gfs2/bmap.c
fs/gfs2/dir.c
fs/gfs2/incore.h
fs/gfs2/inode.c