gfs2: Make gfs2_setattr_simple static

This function is only used in inode.c.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
This commit is contained in:
Andreas Gruenbacher 2021-04-07 00:59:03 +02:00
parent 9f9eb5a516
commit a4122a95ce
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -101,7 +101,6 @@ extern struct inode *gfs2_lookupi(struct inode *dir, const struct qstr *name,
int is_root);
extern int gfs2_permission(struct user_namespace *mnt_userns,
struct inode *inode, int mask);
extern int gfs2_setattr_simple(struct inode *inode, struct iattr *attr);
extern struct inode *gfs2_lookup_simple(struct inode *dip, const char *name);
extern void gfs2_dinode_out(const struct gfs2_inode *ip, void *buf);
extern int gfs2_open_common(struct inode *inode, struct file *file);