[-mm patch] fs/nfsd/nfs4state.c: make a struct static

From: Adrian Bunk
Date: Tue Apr 04 2006 - 12:31:57 EST


On Tue, Apr 04, 2006 at 01:45:04AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.16-mm2:
>...
> +knfsd-locks-flag-nfsv4-owned-locks.patch
>...
> knfsd updates.
>...

This patch makes the needlessly global struct nfsd_posix_mng_ops static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.17-rc1-mm1-full/fs/nfsd/nfs4state.c.old 2006-04-04 18:03:25.000000000 +0200
+++ linux-2.6.17-rc1-mm1-full/fs/nfsd/nfs4state.c 2006-04-04 18:03:38.000000000 +0200
@@ -2507,7 +2507,7 @@

/* Hack!: For now, we're defining this just so we can use a pointer to it
* as a unique cookie to identify our (NFSv4's) posix locks. */
-struct lock_manager_operations nfsd_posix_mng_ops = {
+static struct lock_manager_operations nfsd_posix_mng_ops = {
};

static inline void
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/