Просмотр исходного кода

GFS2: local functions should be static

Quiets the sparse noise:

warning: symbol 'gfs2_initxattrs' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
H Hartley Sweeten 14 лет назад
Родитель
Сommit
46cc1e5fce
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      fs/gfs2/inode.c

+ 1 - 1
fs/gfs2/inode.c

@@ -621,7 +621,7 @@ static int link_dinode(struct gfs2_inode *dip, const struct qstr *name,
 	return error;
 }
 
-int gfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
+static int gfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
 		    void *fs_info)
 {
 	const struct xattr *xattr;