]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: lustre: add a blank line after function/struct/union/enum declarations
authorMike Rapoport <mike.rapoport@gmail.com>
Tue, 13 Oct 2015 13:03:42 +0000 (16:03 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 17:21:10 +0000 (10:21 -0700)
Fixes checkpatch.pl CHECK:LINE_SPACING: Please use a blank line after
function/struct/union/enum declarations

The patch is generated using checkpatch.pl --fix-inplace:

for f in $(find drivers/staging/lustre/ -type f) ; do
    ./scripts/checkpatch.pl --types "LINE_SPACING" --fix-inplace -f $f
done

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
36 files changed:
drivers/staging/lustre/lustre/include/cl_object.h
drivers/staging/lustre/lustre/include/lprocfs_status.h
drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
drivers/staging/lustre/lustre/include/lustre/lustre_user.h
drivers/staging/lustre/lustre/include/lustre_dlm.h
drivers/staging/lustre/lustre/include/lustre_handles.h
drivers/staging/lustre/lustre/include/lustre_import.h
drivers/staging/lustre/lustre/include/lustre_lib.h
drivers/staging/lustre/lustre/include/lustre_net.h
drivers/staging/lustre/lustre/include/obd.h
drivers/staging/lustre/lustre/include/obd_class.h
drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c
drivers/staging/lustre/lustre/ldlm/ldlm_pool.c
drivers/staging/lustre/lustre/ldlm/ldlm_resource.c
drivers/staging/lustre/lustre/libcfs/debug.c
drivers/staging/lustre/lustre/libcfs/kernel_user_comm.c
drivers/staging/lustre/lustre/libcfs/linux/linux-crypto-adler.c
drivers/staging/lustre/lustre/libcfs/linux/linux-crypto.c
drivers/staging/lustre/lustre/llite/llite_lib.c
drivers/staging/lustre/lustre/llite/lproc_llite.c
drivers/staging/lustre/lustre/llite/rw.c
drivers/staging/lustre/lustre/lmv/lproc_lmv.c
drivers/staging/lustre/lustre/lov/lov_io.c
drivers/staging/lustre/lustre/lov/lproc_lov.c
drivers/staging/lustre/lustre/mgc/lproc_mgc.c
drivers/staging/lustre/lustre/obdclass/cl_lock.c
drivers/staging/lustre/lustre/obdclass/genops.c
drivers/staging/lustre/lustre/obdclass/lprocfs_status.c
drivers/staging/lustre/lustre/obdecho/echo_client.c
drivers/staging/lustre/lustre/osc/lproc_osc.c
drivers/staging/lustre/lustre/osc/osc_internal.h
drivers/staging/lustre/lustre/ptlrpc/layout.c
drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c
drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c
drivers/staging/lustre/lustre/ptlrpc/sec_config.c
drivers/staging/lustre/lustre/ptlrpc/sec_lproc.c

index b463bc614d64d8bd21f10a993af4e624a6e8460e..73564f8e388458ca3f3ed8b689edd9e4e8d454c2 100644 (file)
@@ -1119,6 +1119,7 @@ static inline int __page_in_use(const struct cl_page *page, int refc)
        LASSERT(atomic_read(&page->cp_ref) > 0);
        return (atomic_read(&page->cp_ref) > refc);
 }
+
 #define cl_page_in_use(pg)       __page_in_use(pg, 1)
 #define cl_page_in_use_noref(pg) __page_in_use(pg, 0)
 
index 99fe03213dda44c5a113ae3d12cd71cd51ea26b2..6e4112986664f45365474f074257b76d9538b1cf 100644 (file)
@@ -158,6 +158,7 @@ struct lprocfs_counter {
         */
        __s64   lc_array_sum[1];
 };
+
 #define lc_sum         lc_array_sum[0]
 #define lc_sum_irq     lc_array_sum[1]
 
@@ -369,6 +370,7 @@ static inline void s2dhms(struct dhms *ts, time64_t secs64)
        ts->m = secs / 60;
        ts->s = secs % 60;
 }
+
 #define DHMS_FMT "%dd%dh%02dm%02ds"
 #define DHMS_VARS(x) (x)->d, (x)->h, (x)->m, (x)->s
 
index f2f6b7b47a3baed1a1c39d0f7d5c966c4d705eed..0b721c65c2a3eb4bca4faef0b2fcd9620c51af52 100644 (file)
@@ -321,6 +321,7 @@ enum lma_incompat {
        LMAI_REMOTE_PARENT      = 0x00000004, /* the parent of the object
                                                 is on the remote MDT */
 };
+
 #define LMA_INCOMPAT_SUPP      (LMAI_AGENT | LMAI_REMOTE_PARENT)
 
 /**
@@ -1044,6 +1045,7 @@ static inline int lu_dirent_size(struct lu_dirent *ent)
 struct lustre_handle {
        __u64 cookie;
 };
+
 #define DEAD_HANDLE_MAGIC 0xdeadbeefcafebabeULL
 
 static inline int lustre_handle_is_used(struct lustre_handle *lh)
@@ -1108,6 +1110,7 @@ struct ptlrpc_body_v3 {
        __u64 pb_padding[4];
        char  pb_jobid[JOBSTATS_JOBID_SIZE];
 };
+
 #define ptlrpc_body     ptlrpc_body_v3
 
 struct ptlrpc_body_v2 {
@@ -1388,6 +1391,7 @@ struct obd_connect_data {
        __u64 paddingE;   /* added 2.1.0. also fix lustre_swab_connect */
        __u64 paddingF;   /* added 2.1.0. also fix lustre_swab_connect */
 };
+
 /* XXX README XXX:
  * Please DO NOT use any fields here before first ensuring that this same
  * field is not in use on some other branch.  Please clear any such changes
@@ -1932,6 +1936,7 @@ enum {
        LQUOTA_LAST_RES,
        LQUOTA_FIRST_RES        = LQUOTA_RES_MD
 };
+
 #define LQUOTA_NR_RES (LQUOTA_LAST_RES - LQUOTA_FIRST_RES + 1)
 
 /*
@@ -1979,6 +1984,7 @@ struct ldlm_gl_lquota_desc {
        __u64           gl_time;
        __u64           gl_pad2;
 };
+
 #define gl_qunit       gl_hardlimit /* current qunit value used when
                                      * glimpsing per-ID quota locks */
 
index 27e31c431d5cd8d0241cd00ea1c2932418c293a7..286e96af608be1b67f502b85d2dc97008cd2a94f 100644 (file)
@@ -833,6 +833,7 @@ struct ioc_data_version {
        __u64 idv_version;
        __u64 idv_flags;     /* See LL_DV_xxx */
 };
+
 #define LL_DV_NOFLUSH 0x01   /* Do not take READ EXTENT LOCK before sampling
                                version. Dirty caches are left unchanged. */
 
@@ -877,6 +878,7 @@ enum hsm_progress_states {
        HPS_RUNNING     = 2,
        HPS_DONE        = 3,
 };
+
 #define HPS_NONE       0
 
 static inline char *hsm_progress_state2name(enum hsm_progress_states s)
@@ -1101,6 +1103,7 @@ static inline int cfs_size_round (int val)
 {
        return (val + 7) & (~0x7);
 }
+
 #define HAVE_CFS_SIZE_ROUND
 #endif
 
@@ -1112,6 +1115,7 @@ static inline struct hsm_action_item *hai_zero(struct hsm_action_list *hal)
                                                                hal_fsname)
                                                         + 1));
 }
+
 /* Return pointer to next hai */
 static inline struct hsm_action_item *hai_next(struct hsm_action_item *hai)
 {
index 7fb22af18f14e09ad665f4a96aff26dddb6f2966..0e75a15fe0d42f5f1d44cbb3ea82ef9fdab40fac 100644 (file)
@@ -515,6 +515,7 @@ struct ldlm_interval {
        struct list_head                li_group; /* the locks which have the same
                                           * policy - group of the policy */
 };
+
 #define to_ldlm_interval(n) container_of(n, struct ldlm_interval, li_node)
 
 /**
index 3813055b9ffb76aa45584737d6f6940d065da48c..f39780ae4c8a9fc6042d7e20e202530089ac8e5e 100644 (file)
@@ -77,6 +77,7 @@ struct portals_handle {
        unsigned int                    h_size:31;
        unsigned int                    h_in:1;
 };
+
 #define RCU2HANDLE(rcu)    container_of(rcu, struct portals_handle, h_rcu)
 
 /* handles.c */
index c1b8c175224cf7455f431fb1435189786cb3de5a..4e4230e94c11ccd7b4c0c5cabacaef58ec0f849f 100644 (file)
@@ -352,6 +352,7 @@ static inline void at_reset(struct adaptive_timeout *at, int val)
        at->at_worst_time = ktime_get_real_seconds();
        spin_unlock(&at->at_lock);
 }
+
 static inline void at_init(struct adaptive_timeout *at, int val, int flags)
 {
        memset(at, 0, sizeof(*at));
@@ -359,11 +360,13 @@ static inline void at_init(struct adaptive_timeout *at, int val, int flags)
        at->at_flags = flags;
        at_reset(at, val);
 }
+
 extern unsigned int at_min;
 static inline int at_get(struct adaptive_timeout *at)
 {
        return (at->at_current > at_min) ? at->at_current : at_min;
 }
+
 int at_measured(struct adaptive_timeout *at, unsigned int val);
 int import_at_get_index(struct obd_import *imp, int portal);
 extern unsigned int at_max;
index 745b53d8d0072c358baf93061eb4eede79c1879f..428469fec534f6b663c9a97bdb82e10fa0eb0d8a 100644 (file)
@@ -97,6 +97,7 @@ struct obd_client_handle {
        __u32                    och_magic;
        fmode_t                  och_flags;
 };
+
 #define OBD_CLIENT_HANDLE_MAGIC 0xd15ea5ed
 
 /* statfs_pack.c */
index 90edbff5ed0b385f5693001224dad457e5de7529..0127f45ca0c3f571d784f8dabdde1bedb6d36516 100644 (file)
@@ -1545,6 +1545,7 @@ static inline bool ptlrpc_nrs_req_can_move(struct ptlrpc_request *req)
         */
        return nrq->nr_enqueued && !nrq->nr_started && !req->rq_hp;
 }
+
 /** @} nrs */
 
 /**
@@ -2394,10 +2395,12 @@ static inline void ptlrpc_free_bulk_pin(struct ptlrpc_bulk_desc *bulk)
 {
        __ptlrpc_free_bulk(bulk, 1);
 }
+
 static inline void ptlrpc_free_bulk_nopin(struct ptlrpc_bulk_desc *bulk)
 {
        __ptlrpc_free_bulk(bulk, 0);
 }
+
 void __ptlrpc_prep_bulk_page(struct ptlrpc_bulk_desc *desc,
                             struct page *page, int pageoffset, int len, int);
 static inline void ptlrpc_prep_bulk_page_pin(struct ptlrpc_bulk_desc *desc,
@@ -2837,6 +2840,7 @@ void client_destroy_import(struct obd_import *imp);
 enum timeout_event {
        TIMEOUT_GRANT = 1
 };
+
 struct timeout_item;
 typedef int (*timeout_cb_t)(struct timeout_item *, void *);
 int ptlrpc_pinger_add_import(struct obd_import *imp);
index 5de9776788e43b2da3198657460dae3a46641da8..5e93afca3435226420197cf48d1e0ac04955585d 100644 (file)
@@ -362,6 +362,7 @@ struct client_obd {
        /* hash tables for osc_quota_info */
        struct cfs_hash       *cl_quota_hash[MAXQUOTAS];
 };
+
 #define obd2cli_tgt(obd) ((char *)(obd)->u.cli.cl_target_uuid.uuid)
 
 struct obd_id_info {
@@ -403,6 +404,7 @@ struct lov_statfs_data {
        struct obd_info   lsd_oi;
        struct obd_statfs lsd_statfs;
 };
+
 /* Stripe placement optimization */
 struct lov_qos {
        struct list_head    lq_oss_list; /* list of OSSs that targets use */
index f1bcc3cb3b14aad84042305b532a8c267999f9f6..ec36c882fcabc9f8f5b7ac804b9719823df3c2f1 100644 (file)
@@ -133,6 +133,7 @@ struct config_llog_instance {
        int              cfg_last_idx; /* for partial llog processing */
        int              cfg_flags;
 };
+
 int class_config_parse_llog(const struct lu_env *env, struct llog_ctxt *ctxt,
                            char *name, struct config_llog_instance *cfg);
 enum {
index f00e3ba49ffe6bb24d437ba4182147472bd98ce8..ca115119501ae1ba3a2272665fc83c4fa3a336db 100644 (file)
@@ -879,6 +879,7 @@ static ssize_t cancel_unused_locks_before_replay_show(struct kobject *kobj,
 {
        return sprintf(buf, "%d\n", ldlm_cancel_unused_locks_before_replay);
 }
+
 static ssize_t cancel_unused_locks_before_replay_store(struct kobject *kobj,
                                                       struct attribute *attr,
                                                       const char *buffer,
index b85e2d699761f9cd264aa6d31a54b6e5cf45c134..92c21fd47f86f233a6cc99971369b568cedec210 100644 (file)
@@ -474,6 +474,7 @@ static int lprocfs_pool_state_seq_show(struct seq_file *m, void *unused)
 
        return 0;
 }
+
 LPROC_SEQ_FOPS_RO(lprocfs_pool_state);
 
 static ssize_t grant_speed_show(struct kobject *kobj, struct attribute *attr,
index 9152423f5eb983c75ff6ba39a085408429ee31e6..e09f2cdb1fbc24458f3b7ac65b942321d928d6d5 100644 (file)
@@ -77,6 +77,7 @@ lprocfs_wr_dump_ns(struct file *file, const char __user *buffer,
        ldlm_dump_all_namespaces(LDLM_NAMESPACE_CLIENT, D_DLMTRACE);
        return count;
 }
+
 LPROC_SEQ_FOPS_WR_ONLY(ldlm, dump_ns);
 
 LPROC_SEQ_FOPS_RW_TYPE(ldlm_rw, uint);
@@ -426,6 +427,7 @@ static int ldlm_namespace_debugfs_register(struct ldlm_namespace *ns)
 
        return 0;
 }
+
 #undef MAX_STRING_SIZE
 
 static struct ldlm_resource *ldlm_resource_getref(struct ldlm_resource *res)
index ae325f750eeb99a16ef5dcdf033fa162ff6fcf6c..1d1c67164418f46324b3099a34a7d7c8c4fdd2f5 100644 (file)
@@ -562,6 +562,7 @@ int libcfs_debug_mark_buffer(const char *text)
 
        return 0;
 }
+
 #undef DEBUG_SUBSYSTEM
 #define DEBUG_SUBSYSTEM S_LNET
 
index d9b7c6b69db412012f27932f131d96ba7ff41347..ad661a33a21107a8f678d8c836604e6aa3fc5958 100644 (file)
@@ -100,6 +100,7 @@ struct kkuc_reg {
        struct file     *kr_fp;
        __u32           kr_data;
 };
+
 static struct list_head kkuc_groups[KUC_GRP_MAX+1] = {};
 /* Protect message sending against remove and adds */
 static DECLARE_RWSEM(kg_sem);
index 026994a1e3bf755dec8ffc6cceecc415d362bb09..5d8d8b79fa1f352c23c2b133ae7db144d47ecf11 100644 (file)
@@ -82,6 +82,7 @@ static int adler32_update(struct shash_desc *desc, const u8 *data,
        *cksump = __adler32(*cksump, data, len);
        return 0;
 }
+
 static int __adler32_finup(u32 *cksump, const u8 *data, unsigned int len,
                           u8 *out)
 {
@@ -109,6 +110,7 @@ static int adler32_digest(struct shash_desc *desc, const u8 *data,
        return __adler32_finup(crypto_shash_ctx(desc->tfm), data, len,
                                    out);
 }
+
 static struct shash_alg alg = {
        .setkey         = adler32_setkey,
        .init           = adler32_init,
index 5230654b1caf384c6a59fbb0a053d1128fafd693..079d50ebfa3acd7c07c6d4d507827eec436d4293 100644 (file)
@@ -280,6 +280,7 @@ int cfs_crypto_register(void)
        cfs_crypto_test_hashes();
        return 0;
 }
+
 void cfs_crypto_unregister(void)
 {
        if (adler32 == 0)
index e1d8fb08ffcad04e845782fe48b3d91274795b01..e3ea477b9f39ef61de8b3188552b46c14e4f76ab 100644 (file)
@@ -1449,6 +1449,7 @@ int ll_statfs_internal(struct super_block *sb, struct obd_statfs *osfs,
 
        return rc;
 }
+
 int ll_statfs(struct dentry *de, struct kstatfs *sfs)
 {
        struct super_block *sb = de->d_sb;
index 5bd9fb542506430f6a7c17c09215956a6bc9e608..190fc44114e1cd4fe0e2a51e9e32c855fcdf1225 100644 (file)
@@ -218,6 +218,7 @@ static int ll_site_stats_seq_show(struct seq_file *m, void *v)
         */
        return cl_site_stats_print(lu2cl_site(ll_s2sbi(sb)->ll_site), m);
 }
+
 LPROC_SEQ_FOPS_RO(ll_site_stats);
 
 static ssize_t max_read_ahead_mb_show(struct kobject *kobj,
@@ -478,6 +479,7 @@ out:
        }
        return rc;
 }
+
 LPROC_SEQ_FOPS(ll_max_cached_mb);
 
 static ssize_t checksum_pages_show(struct kobject *kobj, struct attribute *attr,
@@ -684,6 +686,7 @@ static int ll_statahead_stats_seq_show(struct seq_file *m, void *v)
                   atomic_read(&sbi->ll_agl_total));
        return 0;
 }
+
 LPROC_SEQ_FOPS_RO(ll_statahead_stats);
 
 static ssize_t lazystatfs_show(struct kobject *kobj,
@@ -775,6 +778,7 @@ static int ll_sbi_flags_seq_show(struct seq_file *m, void *v)
        seq_printf(m, "\b\n");
        return 0;
 }
+
 LPROC_SEQ_FOPS_RO(ll_sbi_flags);
 
 static ssize_t xattr_cache_show(struct kobject *kobj,
@@ -1093,6 +1097,7 @@ void ldebugfs_unregister_mountpoint(struct ll_sb_info *sbi)
                lprocfs_free_stats(&sbi->ll_stats);
        }
 }
+
 #undef MAX_STRING_SIZE
 
 #define pct(a, b) (b ? a * 100 / b : 0)
@@ -1287,6 +1292,7 @@ static ssize_t ll_rw_extents_stats_seq_write(struct file *file,
 
        return len;
 }
+
 LPROC_SEQ_FOPS(ll_rw_extents_stats);
 
 void ll_rw_stats_tally(struct ll_sb_info *sbi, pid_t pid,
index 377947a011cee56298c6a326fc13180eb51846a0..f79193fa2fb7727d9450f016f746d2d9b6ca742c 100644 (file)
@@ -528,6 +528,7 @@ static inline int stride_io_mode(struct ll_readahead_state *ras)
 {
        return ras->ras_consecutive_stride_requests > 1;
 }
+
 /* The function calculates how much pages will be read in
  * [off, off + length], in such stride IO area,
  * stride_offset = st_off, stride_length = st_len,
index 8f9e8ee09e3200c8c4c8394dbebfde74e336e026..40cf4d9f04860ca05cc27f678bd831e0e2f9eaec 100644 (file)
@@ -143,6 +143,7 @@ static int lmv_desc_uuid_seq_show(struct seq_file *m, void *v)
        seq_printf(m, "%s\n", lmv->desc.ld_uuid.uuid);
        return 0;
 }
+
 LPROC_SEQ_FOPS_RO(lmv_desc_uuid);
 
 static void *lmv_tgt_seq_start(struct seq_file *p, loff_t *pos)
index a5838b7ea18e0cb9de065c2ade2ef31d1c9ab327..5e6228b9ca0111255884b94575ae7b390eecde5d 100644 (file)
@@ -51,6 +51,7 @@ static inline void lov_sub_enter(struct lov_io_sub *sub)
 {
        sub->sub_reenter++;
 }
+
 static inline void lov_sub_exit(struct lov_io_sub *sub)
 {
        sub->sub_reenter--;
@@ -989,4 +990,5 @@ int lov_io_init_released(const struct lu_env *env, struct cl_object *obj,
        io->ci_result = result < 0 ? result : 0;
        return result != 0;
 }
+
 /** @} lov */
index 380b8271bf24ad340bc423800251bf4d7ea85f67..a0be15c6b55acf66f8e8a8c6d7adf275602a1761 100644 (file)
@@ -71,6 +71,7 @@ static ssize_t lov_stripesize_seq_write(struct file *file,
        desc->ld_default_stripe_size = val;
        return count;
 }
+
 LPROC_SEQ_FOPS(lov_stripesize);
 
 static int lov_stripeoffset_seq_show(struct seq_file *m, void *v)
@@ -102,6 +103,7 @@ static ssize_t lov_stripeoffset_seq_write(struct file *file,
        desc->ld_default_stripe_offset = val;
        return count;
 }
+
 LPROC_SEQ_FOPS(lov_stripeoffset);
 
 static int lov_stripetype_seq_show(struct seq_file *m, void *v)
@@ -133,6 +135,7 @@ static ssize_t lov_stripetype_seq_write(struct file *file,
        desc->ld_pattern = val;
        return count;
 }
+
 LPROC_SEQ_FOPS(lov_stripetype);
 
 static int lov_stripecount_seq_show(struct seq_file *m, void *v)
@@ -164,6 +167,7 @@ static ssize_t lov_stripecount_seq_write(struct file *file,
        desc->ld_default_stripe_count = val;
        return count;
 }
+
 LPROC_SEQ_FOPS(lov_stripecount);
 
 static ssize_t numobd_show(struct kobject *kobj, struct attribute *attr,
@@ -200,6 +204,7 @@ static int lov_desc_uuid_seq_show(struct seq_file *m, void *v)
        seq_printf(m, "%s\n", lov->desc.ld_uuid.uuid);
        return 0;
 }
+
 LPROC_SEQ_FOPS_RO(lov_desc_uuid);
 
 static void *lov_tgt_seq_start(struct seq_file *p, loff_t *pos)
index 34a9317d6d63cf56013a9e6be4c153bdfe38238b..8d5bc5a751a4989e8bdaf215f39080448dd739b1 100644 (file)
@@ -52,6 +52,7 @@ static int mgc_ir_state_seq_show(struct seq_file *m, void *v)
 {
        return lprocfs_mgc_rd_ir_state(m, m->private);
 }
+
 LPROC_SEQ_FOPS_RO(mgc_ir_state);
 
 static struct lprocfs_vars lprocfs_mgc_obd_vars[] = {
index 0c734f12f21df33b4ade3db4a80f6abb35aab3b3..4338aeed1f6080a766e3f02ab11ba3ff4a1e8b80 100644 (file)
@@ -138,6 +138,7 @@ static void cl_lock_trace0(int level, const struct lu_env *env,
               env, h->coh_nesting, cl_lock_nr_mutexed(env),
               func, line);
 }
+
 #define cl_lock_trace(level, env, prefix, lock)                         \
        cl_lock_trace0(level, env, prefix, lock, __func__, __LINE__)
 
index 73044c3fa3003ce957db8279b90ebbc524900295..ab0748b1765b591a9afb77ce6bdd79bdf7f04550 100644 (file)
@@ -1308,6 +1308,7 @@ int obd_zombie_impexp_init(void)
        wait_for_completion(&obd_zombie_start);
        return 0;
 }
+
 /**
  * stop destroy zombie import/export thread
  */
index 07727dbe6bffcbf9eb60b22341ae86bc7839a694..7cc4b554af1db3cd0d93b45cadc9ba86d0b51e71 100644 (file)
@@ -587,6 +587,7 @@ static int obd_import_flags2str(struct obd_import *imp, struct seq_file *m)
        flag2str(pingable, first);
        return 0;
 }
+
 #undef flags2str
 
 static void obd_connect_seq_flags2str(struct seq_file *m, __u64 flags, char *sep)
index 87f1b3adeee72cc1d7fadc0d2018027b8e3948f3..ef9cb31ecb578e93ac1e8b9c6f9dfb95d737a8f2 100644 (file)
@@ -322,6 +322,7 @@ static const struct cl_page_operations echo_page_ops = {
                }
        }
 };
+
 /** @} echo_page */
 
 /** \defgroup echo_lock Locking
@@ -417,6 +418,7 @@ static const struct cl_object_operations echo_cl_obj_ops = {
        .coo_io_init   = echo_io_init,
        .coo_conf_set  = echo_conf_set
 };
+
 /** @} echo_cl_ops */
 
 /** \defgroup echo_lu_ops lu_object operations
@@ -547,6 +549,7 @@ static const struct lu_object_operations echo_lu_obj_ops = {
        .loo_object_print     = echo_object_print,
        .loo_object_invariant = NULL
 };
+
 /** @} echo_lu_ops */
 
 /** \defgroup echo_lu_dev_ops  lu_device operations
@@ -918,6 +921,7 @@ static struct lu_device_type echo_device_type = {
        .ldt_ops      = &echo_device_type_ops,
        .ldt_ctx_tags = LCT_CL_THREAD,
 };
+
 /** @} echo_init */
 
 /** \defgroup echo_exports Exported operations
@@ -1257,6 +1261,7 @@ out:
        cl_env_put(env, &refcheck);
        return rc;
 }
+
 /** @} echo_exports */
 
 static u64 last_object_id;
index 1ad07f6c1b7a2f7cccb7577d4b3980b70afbbba4..053d5088f02fc907311911bfe19652d5527b5fe0 100644 (file)
@@ -227,6 +227,7 @@ static ssize_t osc_cached_mb_seq_write(struct file *file,
 
        return count;
 }
+
 LPROC_SEQ_FOPS(osc_cached_mb);
 
 static ssize_t cur_dirty_bytes_show(struct kobject *kobj,
@@ -427,6 +428,7 @@ static ssize_t osc_checksum_type_seq_write(struct file *file,
        }
        return -EINVAL;
 }
+
 LPROC_SEQ_FOPS(osc_checksum_type);
 
 static ssize_t resend_count_show(struct kobject *kobj,
@@ -692,6 +694,7 @@ static int osc_rpc_stats_seq_show(struct seq_file *seq, void *v)
 
        return 0;
 }
+
 #undef pct
 
 static ssize_t osc_rpc_stats_seq_write(struct file *file,
index 448fdf4b8939e564f7744c49d640e60ced641f49..5ed30ecc84e34bc3db4c2b96e4149a6219002ab3 100644 (file)
@@ -185,6 +185,7 @@ struct osc_quota_info {
        struct hlist_node oqi_hash;
        u32       oqi_id;
 };
+
 int osc_quota_setup(struct obd_device *obd);
 int osc_quota_cleanup(struct obd_device *obd);
 int osc_quota_setdq(struct client_obd *cli, const unsigned int qid[],
index 637fd2af81d3dc11391e6a4da15c9590c94781d6..d7c4f47808bd1682437c515d5bc66e46bd3e0c5a 100644 (file)
@@ -404,6 +404,7 @@ static const struct req_msg_field *ldlm_intent_layout_client[] = {
        &RMF_LAYOUT_INTENT,
        &RMF_EADATA /* for new layout to be set up */
 };
+
 static const struct req_msg_field *ldlm_intent_open_server[] = {
        &RMF_PTLRPC_BODY,
        &RMF_DLM_REP,
index 05270e18d106c25028c4144ec1b1450681cd37fd..ec44b3c70e2595b77a570559a675e213e7ccbd62 100644 (file)
@@ -270,6 +270,7 @@ ptlrpc_lprocfs_req_history_len_seq_show(struct seq_file *m, void *v)
        seq_printf(m, "%d\n", total);
        return 0;
 }
+
 LPROC_SEQ_FOPS_RO(ptlrpc_lprocfs_req_history_len);
 
 static int
@@ -322,6 +323,7 @@ ptlrpc_lprocfs_req_history_max_seq_write(struct file *file,
 
        return count;
 }
+
 LPROC_SEQ_FOPS(ptlrpc_lprocfs_req_history_max);
 
 static ssize_t threads_min_show(struct kobject *kobj, struct attribute *attr,
@@ -712,6 +714,7 @@ out:
 
        return rc < 0 ? rc : count;
 }
+
 LPROC_SEQ_FOPS(ptlrpc_lprocfs_nrs);
 
 /** @} nrs */
@@ -984,6 +987,7 @@ static int ptlrpc_lprocfs_timeouts_seq_show(struct seq_file *m, void *n)
 
        return 0;
 }
+
 LPROC_SEQ_FOPS_RO(ptlrpc_lprocfs_timeouts);
 
 static ssize_t high_priority_ratio_show(struct kobject *kobj,
index baf063efb79e6f0a9b1aacfc8e082515c996d3b8..8fce717ea79eff8b36ac43f4974cfaf0b2303853 100644 (file)
@@ -457,6 +457,7 @@ static int cfs_hash_alg_id[] = {
        [BULK_HASH_ALG_SHA384]  = CFS_HASH_ALG_SHA384,
        [BULK_HASH_ALG_SHA512]  = CFS_HASH_ALG_SHA512,
 };
+
 const char *sptlrpc_get_hash_name(__u8 hash_alg)
 {
        return cfs_crypto_hash_name(cfs_hash_alg_id[hash_alg]);
index c96a5c7b0494f221a7b02c9207ad5417596edf6a..fca9aa162e317d9218bc6f36be69546c06536e1e 100644 (file)
@@ -264,15 +264,18 @@ static inline int rule_spec_dir(struct sptlrpc_rule *rule)
        return (rule->sr_from != LUSTRE_SP_ANY ||
                rule->sr_to != LUSTRE_SP_ANY);
 }
+
 static inline int rule_spec_net(struct sptlrpc_rule *rule)
 {
        return (rule->sr_netid != LNET_NIDNET(LNET_NID_ANY));
 }
+
 static inline int rule_match_dir(struct sptlrpc_rule *r1,
                                 struct sptlrpc_rule *r2)
 {
        return (r1->sr_from == r2->sr_from && r1->sr_to == r2->sr_to);
 }
+
 static inline int rule_match_net(struct sptlrpc_rule *r1,
                                 struct sptlrpc_rule *r2)
 {
@@ -368,6 +371,7 @@ static int sptlrpc_rule_set_merge(struct sptlrpc_rule_set *rset,
 
        return 0;
 }
+
 /**
  * given from/to/nid, determine a matching flavor in ruleset.
  * return 1 if a match found, otherwise return 0.
index a74e2f01e5be05d99144dfc4da1426304eb6d612..bda9a77af67ae96050f1c5088e7636617e648161 100644 (file)
@@ -106,6 +106,7 @@ static int sptlrpc_info_lprocfs_seq_show(struct seq_file *seq, void *v)
 out:
        return 0;
 }
+
 LPROC_SEQ_FOPS_RO(sptlrpc_info_lprocfs);
 
 static int sptlrpc_ctxs_lprocfs_seq_show(struct seq_file *seq, void *v)
@@ -130,6 +131,7 @@ static int sptlrpc_ctxs_lprocfs_seq_show(struct seq_file *seq, void *v)
 out:
        return 0;
 }
+
 LPROC_SEQ_FOPS_RO(sptlrpc_ctxs_lprocfs);
 
 int sptlrpc_lprocfs_cliobd_attach(struct obd_device *dev)