Commit a4122a95 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher

gfs2: Make gfs2_setattr_simple static

This function is only used in inode.c.
Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent 9f9eb5a5
......@@ -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;
......
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment