summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/inode.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2021-04-07 00:59:03 +0200
committerAndreas Gruenbacher <agruenba@redhat.com>2021-04-08 15:07:21 +0200
commita4122a95ce6a6058a75266a3603f0e27721e5dd3 (patch)
tree12a5ea9506fc8e33c24be9d04ee83c1fcaba8126 /fs/gfs2/inode.c
parentgfs2: Add new sysfs file for gfs2 status (diff)
downloadlinux-a4122a95ce6a6058a75266a3603f0e27721e5dd3.tar.xz
linux-a4122a95ce6a6058a75266a3603f0e27721e5dd3.zip
gfs2: Make gfs2_setattr_simple static
This function is only used in inode.c. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/inode.c')
-rw-r--r--fs/gfs2/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index c9775d5c6594..13d6e55d19e4 100644
--- a/fs/gfs2/inode.c
+++ b/fs/gfs2/inode.c
@@ -1882,7 +1882,7 @@ static int __gfs2_setattr_simple(struct inode *inode, struct iattr *attr)
* Returns: errno
*/
-int gfs2_setattr_simple(struct inode *inode, struct iattr *attr)
+static int gfs2_setattr_simple(struct inode *inode, struct iattr *attr)
{
int error;