Messages in this thread Patch in this message | | | Date | Tue, 4 Apr 2006 18:30:10 +0200 | From | Adrian Bunk <> | Subject | [-mm patch] fs/nfsd/nfs4state.c: make a struct static |
| |
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@stusta.de>
--- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |