]> git.karo-electronics.de Git - karo-tx-linux.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)
commit4f253e1eb628f5adf7ca4f43aab4bbb1bfffa081
tree86c6f0563a3adf85dd3ad44e8cce989bd114b471
parent6ea44adce91526700535b3150f77f8639ae8c82d
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