]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: Mark unnecessarily extern functions as static
authorJan Kara <jack@suse.cz>
Tue, 16 May 2017 10:18:11 +0000 (12:18 +0200)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 3 Jun 2017 20:06:38 +0000 (16:06 -0400)
commit18fd6b5e0aef4d085d4c5d083f3be2cad8610b8b
tree86c6f0563a3adf85dd3ad44e8cce989bd114b471
parent63683fb362923061222ecc3c31d8bd618902d7d6
nfs: Mark unnecessarily extern functions as static

nfs_initialise_sb() and nfs_clone_super() are declared as extern even
though they are used only in fs/nfs/super.c. Mark them as static.

Also remove explicit 'inline' directive from nfs_initialise_sb() and
leave it upto compiler to decide whether inlining is worth it.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/internal.h
fs/nfs/super.c