[NFSD] uninline nfsd4_op_name()
authorAdrian Bunk <bunk@kernel.org>
Fri, 8 Aug 2008 16:26:42 +0000 (19:26 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Aug 2008 18:22:19 +0000 (11:22 -0700)
commitf1c7f79b6ab4f7ada002a0fae47f462ede6b6857
treedda50f0c190aa959b56def945db6301316fea548
parentf2d7499be1b1fe1cd8a5e6a01c1f44173894a241
[NFSD] uninline nfsd4_op_name()

There doesn't seem to be a compelling reason why nfsd4_op_name() is
marked as "inline":

It's only used in a dprintk(), and as long as it has only one caller
non-ancient gcc versions anyway inline it automatically.

This patch fixes the following compile error with gcc 3.4:

  ...
    CC      fs/nfsd/nfs4proc.o
  nfs4proc.c: In function `nfsd4_proc_compound':
  nfs4proc.c:854: sorry, unimplemented: inlining failed in call to
  nfs4proc.c:897: sorry, unimplemented: called from here
  make[3]: *** [fs/nfsd/nfs4proc.o] Error 1

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
[ Also made it "const char *"  - Linus]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nfsd/nfs4proc.c