Re: [Cluster-devel] [PATCH linux-gfs2] GFS2: ht_parms can be static

2015-07-14 Thread Bob Peterson
- Original Message -
 
 Signed-off-by: Fengguang Wu fengguang...@intel.com
 ---
  glock.c |2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
 index 813de00..1b0dff4 100644
 --- a/fs/gfs2/glock.c
 +++ b/fs/gfs2/glock.c
 @@ -76,7 +76,7 @@ static DEFINE_SPINLOCK(lru_lock);
  #define GFS2_GL_HASH_SHIFT  15
  #define GFS2_GL_HASH_SIZE   (1  GFS2_GL_HASH_SHIFT)
  
 -struct rhashtable_params ht_parms = {
 +static struct rhashtable_params ht_parms = {
   .nelem_hint = GFS2_GL_HASH_SIZE * 3 / 4,
   .key_len = sizeof(struct lm_lockname),
   .key_offset = offsetof(struct gfs2_glock, gl_name),
 

Hi,

Thanks. Now pushed to the for-next branch of the linux-gfs2 tree.

Regards,

Bob Peterson
Red Hat File Systems



[Cluster-devel] [PATCH linux-gfs2] GFS2: ht_parms can be static

2015-07-13 Thread kbuild test robot

Signed-off-by: Fengguang Wu fengguang...@intel.com
---
 glock.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index 813de00..1b0dff4 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -76,7 +76,7 @@ static DEFINE_SPINLOCK(lru_lock);
 #define GFS2_GL_HASH_SHIFT  15
 #define GFS2_GL_HASH_SIZE   (1  GFS2_GL_HASH_SHIFT)
 
-struct rhashtable_params ht_parms = {
+static struct rhashtable_params ht_parms = {
.nelem_hint = GFS2_GL_HASH_SIZE * 3 / 4,
.key_len = sizeof(struct lm_lockname),
.key_offset = offsetof(struct gfs2_glock, gl_name),