mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
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:
parent
9f9eb5a516
commit
a4122a95ce
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user