int ll_d_init(struct dentry *de)
 {
        CDEBUG(D_DENTRY, "ldd on dentry %pd (%p) parent %p inode %p refc %d\n",
-               de, de, de->d_parent, d_inode(de),
-               d_count(de));
+              de, de, de->d_parent, d_inode(de), d_count(de));
 
        if (!de->d_fsdata) {
                struct ll_dentry_data *lld;
 
                struct md_op_data *op_data;
 
                op_data = ll_prep_md_op_data(NULL, dir, dir, NULL, 0, 0,
-               LUSTRE_OPC_ANY, NULL);
+                                            LUSTRE_OPC_ANY, NULL);
                if (IS_ERR(op_data))
                        return (void *)op_data;
 
                if (request)
                        ptlrpc_req_finished(request);
                if (rc < 0) {
-                       CERROR("lock enqueue: "DFID" at %llu: rc %d\n",
-                               PFID(ll_inode2fid(dir)), hash, rc);
+                       CERROR("lock enqueue: " DFID " at %llu: rc %d\n",
+                              PFID(ll_inode2fid(dir)), hash, rc);
                        return ERR_PTR(rc);
                }
 
 
                 * application crashed, we need to release here.
                 */
                rc = ll_lease_close(fd->fd_lease_och, inode, &lease_broken);
-               CDEBUG(rc ? D_ERROR : D_INODE, "Clean up lease "DFID" %d/%d\n",
-                       PFID(&lli->lli_fid), rc, lease_broken);
+               CDEBUG(rc ? D_ERROR : D_INODE,
+                      "Clean up lease " DFID " %d/%d\n",
+                      PFID(&lli->lli_fid), rc, lease_broken);
 
                fd->fd_lease_och = NULL;
        }
                * with messages with -ESTALE errors.
                */
                if (!it_disposition(itp, DISP_OPEN_OPEN) ||
-                    it_open_error(DISP_OPEN_OPEN, itp))
+                   it_open_error(DISP_OPEN_OPEN, itp))
                        goto out;
                ll_release_openhandle(inode, itp);
                goto out;
 }
 
 static int ll_md_blocking_lease_ast(struct ldlm_lock *lock,
-                       struct ldlm_lock_desc *desc, void *data, int flag)
+                                   struct ldlm_lock_desc *desc,
+                                   void *data, int flag)
 {
        int rc;
        struct lustre_handle lockh;
                return ERR_PTR(-ENOMEM);
 
        op_data = ll_prep_md_op_data(NULL, inode, inode, NULL, 0, 0,
-                                       LUSTRE_OPC_ANY, NULL);
+                                    LUSTRE_OPC_ANY, NULL);
        if (IS_ERR(op_data)) {
                rc = PTR_ERR(op_data);
                goto out;
        it.it_flags = fmode | open_flags;
        it.it_flags |= MDS_OPEN_LOCK | MDS_OPEN_BY_FID | MDS_OPEN_LEASE;
        rc = md_intent_lock(sbi->ll_md_exp, op_data, NULL, 0, &it, 0, &req,
-                               ll_md_blocking_lease_ast,
+                           ll_md_blocking_lease_ast,
        /* LDLM_FL_NO_LRU: To not put the lease lock into LRU list, otherwise
         * it can be cancelled which may mislead applications that the lease is
         * broken;
            it.d.lustre.it_lock_bits != MDS_INODELOCK_OPEN) {
                /* open lock must return for lease */
                CERROR(DFID "lease granted but no open lock, %d/%llu.\n",
-                       PFID(ll_inode2fid(inode)), it.d.lustre.it_lock_mode,
-                       it.d.lustre.it_lock_bits);
+                      PFID(ll_inode2fid(inode)), it.d.lustre.it_lock_mode,
+                      it.d.lustre.it_lock_bits);
                rc = -EPROTO;
                goto out_close;
        }
        /* cancel open lock */
        if (it.d.lustre.it_lock_mode != 0) {
                ldlm_lock_decref_and_cancel(&och->och_lease_handle,
-                                               it.d.lustre.it_lock_mode);
+                                           it.d.lustre.it_lock_mode);
                it.d.lustre.it_lock_mode = 0;
        }
 out_release_it:
                ldlm_lock_put(lock);
        }
 
-       CDEBUG(D_INODE, "lease for "DFID" broken? %d\n",
-               PFID(&ll_i2info(inode)->lli_fid), cancelled);
+       CDEBUG(D_INODE, "lease for " DFID " broken? %d\n",
+              PFID(&ll_i2info(inode)->lli_fid), cancelled);
 
        if (!cancelled)
                ldlm_cli_cancel(&och->och_lease_handle, 0);
                if (lvb.lvb_mtime < attr->cat_mtime)
                        lvb.lvb_mtime = attr->cat_mtime;
 
-               CDEBUG(D_VFSTRACE, DFID" updating i_size %llu\n",
-                               PFID(&lli->lli_fid), attr->cat_size);
+               CDEBUG(D_VFSTRACE, DFID " updating i_size %llu\n",
+                      PFID(&lli->lli_fid), attr->cat_size);
                cl_isize_write_nolock(inode, attr->cat_size);
 
                inode->i_blocks = attr->cat_blocks;
        args->u.normal.via_iocb = iocb;
 
        result = ll_file_io_generic(env, args, iocb->ki_filp, CIT_WRITE,
-                                 &iocb->ki_pos, iov_iter_count(from));
+                                   &iocb->ki_pos, iov_iter_count(from));
        cl_env_put(env, &refcheck);
        return result;
 }
        lmmsize = body->eadatasize;
 
        if (!(body->valid & (OBD_MD_FLEASIZE | OBD_MD_FLDIREA)) ||
-                       lmmsize == 0) {
+           lmmsize == 0) {
                rc = -ENODATA;
                goto out;
        }
 }
 
 static int ll_lov_setea(struct inode *inode, struct file *file,
-                           unsigned long arg)
+                       unsigned long arg)
 {
        int                      flags = MDS_OPEN_HAS_OBJS | FMODE_WRITE;
        struct lov_user_md      *lump;
        }
 
        rc = ll_lov_setstripe_ea_info(inode, file->f_path.dentry, flags, lump,
-                                    lum_size);
+                                     lum_size);
        cl_lov_delay_create_clear(&file->f_flags);
 
        kvfree(lump);
 
        if (fd->fd_grouplock.cg_gid != arg) {
                CWARN("group lock %lu doesn't match current id %lu\n",
-                      arg, fd->fd_grouplock.cg_gid);
+                     arg, fd->fd_grouplock.cg_gid);
                spin_unlock(&lli->lli_lock);
                return -EINVAL;
        }
         * required fiemap buffer
         */
        if (get_user(extent_count,
-           &((struct ll_user_fiemap __user *)arg)->fm_extent_count))
+                    &((struct ll_user_fiemap __user *)arg)->fm_extent_count))
                return -EFAULT;
 
        if (extent_count >=
         */
        if (extent_count) {
                if (copy_from_user(&fiemap_s->fm_extents[0],
-                   (char __user *)arg + sizeof(*fiemap_s),
-                   sizeof(struct ll_fiemap_extent))) {
+                                  (char __user *)arg + sizeof(*fiemap_s),
+                                  sizeof(struct ll_fiemap_extent))) {
                        rc = -EFAULT;
                        goto error;
                }
                        return -EFAULT;
 
                rc = ll_data_version(inode, &idv.idv_version,
-                               !(idv.idv_flags & LL_DV_NOFLUSH));
+                                    !(idv.idv_flags & LL_DV_NOFLUSH));
 
                if (rc == 0 && copy_to_user((char __user *)arg, &idv,
                                            sizeof(idv)))
                break;
        default:
                CDEBUG(D_INFO, "Unknown fcntl lock type: %d\n",
-                       file_lock->fl_type);
+                      file_lock->fl_type);
                return -ENOTSUPP;
        }
 
        if (rc2 && file_lock->fl_type != F_UNLCK) {
                einfo.ei_mode = LCK_NL;
                md_enqueue(sbi->ll_md_exp, &einfo, NULL,
-                       op_data, &lockh, &flock, 0, NULL /* req */, flags);
+                          op_data, &lockh, &flock, 0, NULL /* req */, flags);
                rc = rc2;
        }
 
                                *gen = md.lsm->lsm_layout_gen;
                        rc = 0;
                } else {
-                       CERROR("%s: file "DFID" unpackmd error: %d\n",
-                               ll_get_fsname(inode->i_sb, NULL, 0),
-                               PFID(&lli->lli_fid), rc);
+                       CERROR("%s: file " DFID " unpackmd error: %d\n",
+                              ll_get_fsname(inode->i_sb, NULL, 0),
+                              PFID(&lli->lli_fid), rc);
                }
        }
        if (rc < 0)
 
        /* wait for IO to complete if it's still being used. */
        if (wait_layout) {
-               CDEBUG(D_INODE, "%s: %p/"DFID" wait for layout reconf.\n",
-                       ll_get_fsname(inode->i_sb, NULL, 0),
-                       inode, PFID(&lli->lli_fid));
+               CDEBUG(D_INODE, "%s: %p/" DFID " wait for layout reconf.\n",
+                      ll_get_fsname(inode->i_sb, NULL, 0),
+                      inode, PFID(&lli->lli_fid));
 
                memset(&conf, 0, sizeof(conf));
                conf.coc_opc = OBJECT_CONF_WAIT;
                if (rc == 0)
                        rc = -EAGAIN;
 
-               CDEBUG(D_INODE, "file: "DFID" waiting layout return: %d.\n",
-                       PFID(&lli->lli_fid), rc);
+               CDEBUG(D_INODE, "file: " DFID " waiting layout return: %d.\n",
+                      PFID(&lli->lli_fid), rc);
        }
        return rc;
 }
        }
 
        op_data = ll_prep_md_op_data(NULL, inode, inode, NULL,
-                       0, 0, LUSTRE_OPC_ANY, NULL);
+                                    0, 0, LUSTRE_OPC_ANY, NULL);
        if (IS_ERR(op_data)) {
                mutex_unlock(&lli->lli_layout_mutex);
                return PTR_ERR(op_data);
        it.it_op = IT_LAYOUT;
        lockh.cookie = 0ULL;
 
-       LDLM_DEBUG_NOLOCK("%s: requeue layout lock for file %p/"DFID".\n",
-                       ll_get_fsname(inode->i_sb, NULL, 0), inode,
+       LDLM_DEBUG_NOLOCK("%s: requeue layout lock for file %p/" DFID ".\n",
+                         ll_get_fsname(inode->i_sb, NULL, 0), inode,
                        PFID(&lli->lli_fid));
 
        rc = md_enqueue(sbi->ll_md_exp, &einfo, &it, op_data, &lockh,
 
        spin_lock(&lli->lli_lock);
        lli->lli_flags |= LLIF_SOM_DIRTY;
        if (page && list_empty(&page->cpg_pending_linkage))
-               list_add(&page->cpg_pending_linkage,
-                            &club->cob_pending_list);
+               list_add(&page->cpg_pending_linkage, &club->cob_pending_list);
        spin_unlock(&lli->lli_lock);
 }
 
 
        if (!list_empty(&lcq->lcq_head)) {
                lli = list_entry(lcq->lcq_head.next, struct ll_inode_info,
-                                    lli_close_list);
+                                lli_close_list);
                list_del_init(&lli->lli_close_list);
        } else if (atomic_read(&lcq->lcq_stop))
                lli = ERR_PTR(-EALREADY);
 
 
 int ll_xattr_cache_destroy(struct inode *inode);
 
-int ll_xattr_cache_get(struct inode *inode,
-                       const char *name,
-                       char *buffer,
-                       size_t size,
-                       __u64 valid);
+int ll_xattr_cache_get(struct inode *inode, const char *name,
+                      char *buffer, size_t size, __u64 valid);
 
 /*
  * Locking to guarantee consistency of non-atomic updates to long long i_size,
 
 int ll_teardown_mmaps(struct address_space *mapping, __u64 first, __u64 last);
 int ll_file_mmap(struct file *file, struct vm_area_struct *vma);
-void policy_from_vma(ldlm_policy_data_t *policy,
-               struct vm_area_struct *vma, unsigned long addr, size_t count);
+void policy_from_vma(ldlm_policy_data_t *policy, struct vm_area_struct *vma,
+                    unsigned long addr, size_t count);
 struct vm_area_struct *our_vma(struct mm_struct *mm, unsigned long addr,
                               size_t count);
 
 
         * available
         */
        err = obd_statfs(NULL, sbi->ll_md_exp, osfs,
-                       cfs_time_shift_64(-OBD_STATFS_CACHE_SECONDS),
-                       OBD_STATFS_FOR_MDT0);
+                        cfs_time_shift_64(-OBD_STATFS_CACHE_SECONDS),
+                        OBD_STATFS_FOR_MDT0);
        if (err)
                goto out_md_fid;
 
        sb->s_root = d_make_root(root);
        if (!sb->s_root) {
                CERROR("%s: can't make root dentry\n",
-                       ll_get_fsname(sb, NULL, 0));
+                      ll_get_fsname(sb, NULL, 0));
                err = -ENOMEM;
                goto out_lock_cn_cb;
        }
 
        size = sizeof(int);
        rc = obd_get_info(NULL, sbi->ll_md_exp, sizeof(KEY_DEFAULT_EASIZE),
-                        KEY_DEFAULT_EASIZE, &size, lmmsize, NULL);
+                         KEY_DEFAULT_EASIZE, &size, lmmsize, NULL);
        if (rc)
                CERROR("Get default mdsize error rc %d\n", rc);
 
 #define TIMES_SET_FLAGS (ATTR_MTIME_SET | ATTR_ATIME_SET | ATTR_TIMES_SET)
 
 static int ll_md_setattr(struct dentry *dentry, struct md_op_data *op_data,
-                 struct md_open_data **mod)
+                        struct md_open_data **mod)
 {
        struct lustre_md md;
        struct inode *inode = d_inode(dentry);
        int rc = 0, rc1 = 0;
 
        CDEBUG(D_VFSTRACE,
-               "%s: setattr inode %p/fid:"DFID
-               " from %llu to %llu, valid %x, hsm_import %d\n",
-               ll_get_fsname(inode->i_sb, NULL, 0), inode,
-               PFID(&lli->lli_fid), i_size_read(inode), attr->ia_size,
-               attr->ia_valid, hsm_import);
+              "%s: setattr inode %p/fid:" DFID
+              " from %llu to %llu, valid %x, hsm_import %d\n",
+              ll_get_fsname(inode->i_sb, NULL, 0), inode,
+              PFID(&lli->lli_fid), i_size_read(inode), attr->ia_size,
+              attr->ia_valid, hsm_import);
 
        if (attr->ia_valid & ATTR_SIZE) {
                /* Check new size against VFS/VM file size limit and rlimit */
        struct ll_sb_info  *sbi = ll_i2sbi(inode);
 
        CDEBUG(D_SEC, "flush context for user %d\n",
-                     from_kuid(&init_user_ns, current_uid()));
+              from_kuid(&init_user_ns, current_uid()));
 
        obd_set_info_async(NULL, sbi->ll_md_exp,
                           sizeof(KEY_FLUSH_CTX), KEY_FLUSH_CTX,
 
 /* this function prepares md_op_data hint for passing ot down to MD stack. */
 struct md_op_data *ll_prep_md_op_data(struct md_op_data *op_data,
-                                      struct inode *i1, struct inode *i2,
-                                      const char *name, int namelen,
-                                      int mode, __u32 opc, void *data)
+                                     struct inode *i1, struct inode *i2,
+                                     const char *name, int namelen,
+                                     int mode, __u32 opc, void *data)
 {
        if (namelen > ll_i2sbi(i1)->ll_namelen)
                return ERR_PTR(-ENAMETOOLONG);
 
 static const struct vm_operations_struct ll_file_vm_ops;
 
 void policy_from_vma(ldlm_policy_data_t *policy,
-                           struct vm_area_struct *vma, unsigned long addr,
-                           size_t count)
+                    struct vm_area_struct *vma, unsigned long addr,
+                    size_t count)
 {
        policy->l_extent.start = ((addr - vma->vm_start) & CFS_PAGE_MASK) +
                                 (vma->vm_pgoff << PAGE_CACHE_SHIFT);
 
        int fileid_len = sizeof(struct lustre_nfs_fid) / 4;
        struct lustre_nfs_fid *nfs_fid = (void *)fh;
 
-       CDEBUG(D_INFO, "encoding for (%lu,"DFID") maxlen=%d minlen=%d\n",
-             inode->i_ino, PFID(ll_inode2fid(inode)), *plen, fileid_len);
+       CDEBUG(D_INFO, "encoding for (%lu," DFID ") maxlen=%d minlen=%d\n",
+              inode->i_ino, PFID(ll_inode2fid(inode)), *plen, fileid_len);
 
        if (*plen < fileid_len) {
                *plen = fileid_len;
 
        sbi = ll_s2sbi(dir->i_sb);
 
-       CDEBUG(D_INFO, "getting parent for (%lu,"DFID")\n",
-                       dir->i_ino, PFID(ll_inode2fid(dir)));
+       CDEBUG(D_INFO, "getting parent for (%lu," DFID ")\n",
+              dir->i_ino, PFID(ll_inode2fid(dir)));
 
        rc = ll_get_default_mdsize(sbi, &lmmsize);
        if (rc != 0)
        body = req_capsule_server_get(&req->rq_pill, &RMF_MDT_BODY);
        LASSERT(body->valid & OBD_MD_FLID);
 
-       CDEBUG(D_INFO, "parent for "DFID" is "DFID"\n",
-               PFID(ll_inode2fid(dir)), PFID(&body->fid1));
+       CDEBUG(D_INFO, "parent for " DFID " is " DFID "\n",
+              PFID(ll_inode2fid(dir)), PFID(&body->fid1));
 
        result = ll_iget_for_nfs(dir->i_sb, &body->fid1, NULL);
 
 
 }
 
 static struct rmtacl_ctl_entry *__rct_search(struct rmtacl_ctl_table *rct,
-                                          pid_t key)
+                                            pid_t key)
 {
        struct rmtacl_ctl_entry *rce;
        struct list_head *head = &rct->rct_entries[rce_hashfunc(key)];
        for (i = 0; i < RCE_HASHES; i++)
                while (!list_empty(&rct->rct_entries[i])) {
                        rce = list_entry(rct->rct_entries[i].next,
-                                            struct rmtacl_ctl_entry, rce_list);
+                                        struct rmtacl_ctl_entry, rce_list);
                        rce_free(rce);
                }
        spin_unlock(&rct->rct_lock);
 }
 
 static struct eacl_entry *__et_search_del(struct eacl_table *et, pid_t key,
-                                       struct lu_fid *fid, int type)
+                                         struct lu_fid *fid, int type)
 {
        struct eacl_entry *ee;
        struct list_head *head = &et->et_entries[ee_hashfunc(key)];
        for (i = 0; i < EE_HASHES; i++)
                while (!list_empty(&et->et_entries[i])) {
                        ee = list_entry(et->et_entries[i].next,
-                                           struct eacl_entry, ee_list);
+                                       struct eacl_entry, ee_list);
                        ee_free(ee);
                }
        spin_unlock(&et->et_lock);
 
                /* difficult - have to ask OSCs to drop LRU slots. */
                tmp = diff << 1;
                rc = obd_set_info_async(NULL, sbi->ll_dt_exp,
-                               sizeof(KEY_CACHE_LRU_SHRINK),
-                               KEY_CACHE_LRU_SHRINK,
-                               sizeof(tmp), &tmp, NULL);
+                                       sizeof(KEY_CACHE_LRU_SHRINK),
+                                       KEY_CACHE_LRU_SHRINK,
+                                       sizeof(tmp), &tmp, NULL);
                if (rc < 0)
                        break;
        }
                CWARN("Error adding the extent_stats file\n");
 
        rc = ldebugfs_seq_create(sbi->ll_debugfs_entry,
-                                 "extents_stats_per_process",
+                                "extents_stats_per_process",
                                 0644, &ll_rw_extents_stats_pp_fops, sbi);
        if (rc)
                CWARN("Error adding the extents_stats_per_process file\n");
                                     llite_opcode_table[id].opname, ptr);
        }
        err = ldebugfs_register_stats(sbi->ll_debugfs_entry, "stats",
-                                    sbi->ll_stats);
+                                     sbi->ll_stats);
        if (err)
                goto out;
 
                                     ra_stat_string[id], "pages");
 
        err = ldebugfs_register_stats(sbi->ll_debugfs_entry, "read_ahead_stats",
-                                    sbi->ll_ra_stats);
+                                     sbi->ll_ra_stats);
        if (err)
                goto out;
 
 #define pct(a, b) (b ? a * 100 / b : 0)
 
 static void ll_display_extents_info(struct ll_rw_extents_info *io_extents,
-                                  struct seq_file *seq, int which)
+                                   struct seq_file *seq, int which)
 {
        unsigned long read_tot = 0, write_tot = 0, read_cum, write_cum;
        unsigned long start, end, r, w;
 
                        if (S_ISREG(inode->i_mode) &&
                            !ll_i2info(inode)->lli_clob) {
                                CDEBUG(D_INODE,
-                                       "%s: apply lsm %p to inode "DFID".\n",
-                                       ll_get_fsname(sb, NULL, 0), md->lsm,
-                                       PFID(ll_inode2fid(inode)));
+                                      "%s: apply lsm %p to inode " DFID ".\n",
+                                      ll_get_fsname(sb, NULL, 0), md->lsm,
+                                      PFID(ll_inode2fid(inode)));
                                rc = cl_file_inode_init(inode, md);
                        }
                        if (rc != 0) {
               dir, 3000, oldname);
 
        err = ll_new_node(dir, dentry, oldname, S_IFLNK | S_IRWXUGO,
-                       0, LUSTRE_OPC_SYMLINK);
+                         0, LUSTRE_OPC_SYMLINK);
 
        if (!err)
                ll_stats_ops_tally(ll_i2sbi(dir), LPROC_LL_SYMLINK, 1);
 
        RIA_DEBUG(ria);
 
        stride_ria = ria->ria_length > ria->ria_pages && ria->ria_pages > 0;
-       for (page_idx = ria->ria_start; page_idx <= ria->ria_end &&
-                       *reserved_pages > 0; page_idx++) {
+       for (page_idx = ria->ria_start;
+            page_idx <= ria->ria_end && *reserved_pages > 0; page_idx++) {
                if (ras_inside_ra_window(page_idx, ria)) {
                        /* If the page is inside the read-ahead window*/
                        rc = ll_read_ahead_page(env, io, queue,
        unsigned long stride_gap = index - ras->ras_last_readpage - 1;
 
        if (!stride_io_mode(ras) && (stride_gap != 0 ||
-            ras->ras_consecutive_stride_requests == 0)) {
+           ras->ras_consecutive_stride_requests == 0)) {
                ras->ras_stride_pages = ras->ras_consecutive_pages;
                ras->ras_stride_length = stride_gap+ras->ras_consecutive_pages;
        }
 
 }
 
 static int ll_write_begin(struct file *file, struct address_space *mapping,
-                        loff_t pos, unsigned len, unsigned flags,
-                        struct page **pagep, void **fsdata)
+                         loff_t pos, unsigned len, unsigned flags,
+                         struct page **pagep, void **fsdata)
 {
        pgoff_t index = pos >> PAGE_CACHE_SHIFT;
        struct page *page;
 
 #ifdef CONFIG_MIGRATION
 static int ll_migratepage(struct address_space *mapping,
-                        struct page *newpage, struct page *page,
-                        enum migrate_mode mode
+                         struct page *newpage, struct page *page,
+                         enum migrate_mode mode
                )
 {
        /* Always fail page migration until we have a proper implementation */
 
 }
 
 static void ll_sa_entry_cleanup(struct ll_statahead_info *sai,
-                                struct ll_sa_entry *entry)
+                               struct ll_sa_entry *entry)
 {
        struct md_enqueue_info *minfo = entry->se_minfo;
        struct ptlrpc_request  *req   = entry->se_req;
 }
 
 static void ll_sa_entry_put(struct ll_statahead_info *sai,
-                            struct ll_sa_entry *entry)
+                           struct ll_sa_entry *entry)
 {
        if (atomic_dec_and_test(&entry->se_refcount)) {
                CDEBUG(D_READA, "free sa entry %.*s(%p) index %llu\n",
                              PFID(&lli->lli_fid),
                              sai->sai_sent, sai->sai_replied);
 
-               list_for_each_entry_safe(entry, next,
-                                            &sai->sai_entries, se_link)
+               list_for_each_entry_safe(entry, next, &sai->sai_entries,
+                                        se_link)
                        do_sa_entry_fini(sai, entry);
 
                LASSERT(list_empty(&sai->sai_entries));
                        entry->se_handle = handle;
                        wakeup = list_empty(&sai->sai_entries_received);
                        list_add_tail(&entry->se_list,
-                                         &sai->sai_entries_received);
+                                     &sai->sai_entries_received);
                }
                sai->sai_replied++;
                spin_unlock(&lli->lli_sa_lock);
               sai, parent);
 
        plli = ll_i2info(d_inode(parent));
-       task = kthread_run(ll_agl_thread, parent,
-                              "ll_agl_%u", plli->lli_opendir_pid);
+       task = kthread_run(ll_agl_thread, parent, "ll_agl_%u",
+                          plli->lli_opendir_pid);
        if (IS_ERR(task)) {
                CERROR("can't start ll_agl thread, rc: %ld\n", PTR_ERR(task));
                thread_set_flags(thread, SVC_STOPPED);
                                        struct dentry *alias;
 
                                        alias = ll_splice_alias(inode,
-                                                                  *dentryp);
+                                                               *dentryp);
                                        if (IS_ERR(alias)) {
                                                ll_sai_unplug(sai, entry);
                                                return PTR_ERR(alias);
                                } else if (d_inode(*dentryp) != inode) {
                                        /* revalidate, but inode is recreated */
                                        CDEBUG(D_READA,
-                                             "stale dentry %pd inode %lu/%u, statahead inode %lu/%u\n",
+                                              "stale dentry %pd inode %lu/%u, statahead inode %lu/%u\n",
                                              *dentryp,
                                              d_inode(*dentryp)->i_ino,
                                              d_inode(*dentryp)->i_generation,
 
                goto out_cache;
 
        ll_file_data_slab = kmem_cache_create("ll_file_data",
-                                                sizeof(struct ll_file_data), 0,
-                                                SLAB_HWCACHE_ALIGN, NULL);
+                                             sizeof(struct ll_file_data), 0,
+                                             SLAB_HWCACHE_ALIGN, NULL);
        if (!ll_file_data_slab)
                goto out_cache;
 
 
        LASSERT(symlen != 0);
        if (body->eadatasize != symlen) {
                CERROR("inode %lu: symlink length %d not expected %d\n",
-                       inode->i_ino, body->eadatasize - 1, symlen - 1);
+                      inode->i_ino, body->eadatasize - 1, symlen - 1);
                rc = -EPROTO;
                goto failed;
        }
 
 #include "../include/cl_object.h"
 #include "llite_internal.h"
 
-int           vvp_io_init     (const struct lu_env *env,
-                                  struct cl_object *obj, struct cl_io *io);
-int           vvp_lock_init   (const struct lu_env *env,
-                                  struct cl_object *obj, struct cl_lock *lock,
+int vvp_io_init(const struct lu_env *env,
+               struct cl_object *obj, struct cl_io *io);
+int vvp_lock_init(const struct lu_env *env,
+                 struct cl_object *obj, struct cl_lock *lock,
                                   const struct cl_io *io);
-int              vvp_page_init   (const struct lu_env *env,
-                                  struct cl_object *obj,
-                                  struct cl_page *page, struct page *vmpage);
+int vvp_page_init(const struct lu_env *env, struct cl_object *obj,
+                 struct cl_page *page, struct page *vmpage);
 struct lu_object *vvp_object_alloc(const struct lu_env *env,
                                   const struct lu_object_header *hdr,
                                   struct lu_device *dev);
 
  * have to acquire group lock.
  */
 static bool can_populate_pages(const struct lu_env *env, struct cl_io *io,
-                               struct inode *inode)
+                              struct inode *inode)
 {
        struct ll_inode_info    *lli = ll_i2info(inode);
        struct ccc_io           *cio = ccc_env_io(env);
                goto out;
 
        LU_OBJECT_HEADER(D_INODE, env, &obj->co_lu,
-                       "Read ino %lu, %lu bytes, offset %lld, size %llu\n",
-                       inode->i_ino, cnt, pos, i_size_read(inode));
+                        "Read ino %lu, %lu bytes, offset %lld, size %llu\n",
+                        inode->i_ino, cnt, pos, i_size_read(inode));
 
        /* turn off the kernel's read-ahead */
        cio->cui_fd->fd_file->f_ra.ra_pages = 0;
                break;
        case IO_SPLICE:
                result = generic_file_splice_read(file, &pos,
-                               vio->u.splice.cui_pipe, cnt,
-                               vio->u.splice.cui_flags);
+                                                 vio->u.splice.cui_pipe, cnt,
+                                                 vio->u.splice.cui_flags);
                /* LU-1109: do splice read stripe by stripe otherwise if it
                 * may make nfsd stuck if this read occupied all internal pipe
                 * buffers.
                        result = 0;
                if (result < 0)
                        CERROR("%s: refresh file layout " DFID " error %d.\n",
-                               ll_get_fsname(inode->i_sb, NULL, 0),
-                               PFID(lu_object_fid(&obj->co_lu)), result);
+                              ll_get_fsname(inode->i_sb, NULL, 0),
+                              PFID(lu_object_fid(&obj->co_lu)), result);
        }
 
        return result;
 
                        set_bit(AS_EIO, &inode->i_mapping->flags);
 
                if ((ioret == -ESHUTDOWN || ioret == -EINTR) &&
-                    obj->cob_discard_page_warned == 0) {
+                   obj->cob_discard_page_warned == 0) {
                        obj->cob_discard_page_warned = 1;
                        ll_dirty_page_discard_warn(vmpage, ioret);
                }
                LASSERT(pg->cp_state == CPS_CACHED);
                /* This actually clears the dirty bit in the radix tree. */
                set_page_writeback(vmpage);
-               vvp_write_pending(cl2ccc(slice->cpl_obj),
-                               cl2ccc_page(slice));
+               vvp_write_pending(cl2ccc(slice->cpl_obj), cl2ccc_page(slice));
                CL_PAGE_HEADER(D_PAGE, env, pg, "readied\n");
        } else if (pg->cp_state == CPS_PAGEOUT) {
                /* is it possible for osc_flush_async_page() to already
 };
 
 int vvp_page_init(const struct lu_env *env, struct cl_object *obj,
-               struct cl_page *page, struct page *vmpage)
+                 struct cl_page *page, struct page *vmpage)
 {
        struct ccc_page *cpg = cl_object_page_slice(obj, page);
 
        if (page->cp_type == CPT_CACHEABLE) {
                SetPagePrivate(vmpage);
                vmpage->private = (unsigned long)page;
-               cl_page_slice_add(page, &cpg->cpg_cl, obj,
-                               &vvp_page_ops);
+               cl_page_slice_add(page, &cpg->cpg_cl, obj, &vvp_page_ops);
        } else {
                struct ccc_object *clobj = cl2ccc(obj);
 
                LASSERT(!inode_trylock(clobj->cob_inode));
                cl_page_slice_add(page, &cpg->cpg_cl, obj,
-                               &vvp_transient_page_ops);
+                                 &vvp_transient_page_ops);
                clobj->cob_transient_pages++;
        }
        return 0;
 
 
        /* b15587: ignore security.capability xattr for now */
        if ((xattr_type == XATTR_SECURITY_T &&
-           strcmp(name, "security.capability") == 0))
+            strcmp(name, "security.capability") == 0))
                return 0;
 
        /* LU-549:  Disable security.selinux when selinux is disabled */
 
        /* b15587: ignore security.capability xattr for now */
        if ((xattr_type == XATTR_SECURITY_T &&
-           strcmp(name, "security.capability") == 0))
+            strcmp(name, "security.capability") == 0))
                return -ENODATA;
 
        /* LU-549:  Disable security.selinux when selinux is disabled */
 
                if (size < body->eadatasize) {
                        CERROR("server bug: replied size %u > %u\n",
-                               body->eadatasize, (int)size);
+                              body->eadatasize, (int)size);
                        rc = -ERANGE;
                        goto out;
                }
 
                /* do not need swab xattr data */
                xdata = req_capsule_server_sized_get(&req->rq_pill, &RMF_EADATA,
-                                                       body->eadatasize);
+                                                    body->eadatasize);
                if (!xdata) {
                        rc = -EFAULT;
                        goto out;
 
        xattr->xe_vallen = xattr_val_len;
        list_add(&xattr->xe_list, cache);
 
-       CDEBUG(D_CACHE, "set: [%s]=%.*s\n", xattr_name,
-               xattr_val_len, xattr_val);
+       CDEBUG(D_CACHE, "set: [%s]=%.*s\n", xattr_name, xattr_val_len,
+              xattr_val);
 
        return 0;
 err_value:
 
        list_for_each_entry_safe(xattr, tmp, cache, xe_list) {
                CDEBUG(D_CACHE, "list: buffer=%p[%d] name=%s\n",
-                       xld_buffer, xld_tail, xattr->xe_name);
+                      xld_buffer, xld_tail, xattr->xe_name);
 
                if (xld_buffer) {
                        xld_size -= xattr->xe_namelen;
        }
        /* do not need swab xattr data */
        xdata = req_capsule_server_sized_get(&req->rq_pill, &RMF_EADATA,
-                                               body->eadatasize);
+                                            body->eadatasize);
        xval = req_capsule_server_sized_get(&req->rq_pill, &RMF_EAVALS,
-                                               body->aclsize);
+                                           body->aclsize);
        xsizes = req_capsule_server_sized_get(&req->rq_pill, &RMF_EAVALS_LENS,
                                              body->max_mdsize * sizeof(__u32));
        if (!xdata || !xval || !xsizes) {
  * \retval -ERANGE  the buffer is not large enough
  * \retval -ENODATA no such attr or the list is empty
  */
-int ll_xattr_cache_get(struct inode *inode,
-                       const char *name,
-                       char *buffer,
-                       size_t size,
-                       __u64 valid)
+int ll_xattr_cache_get(struct inode *inode, const char *name, char *buffer,
+                      size_t size, __u64 valid)
 {
        struct lookup_intent oit = { .it_op = IT_GETXATTR };
        struct ll_inode_info *lli = ll_i2info(inode);
                        if (size != 0) {
                                if (size >= xattr->xe_vallen)
                                        memcpy(buffer, xattr->xe_value,
-                                               xattr->xe_vallen);
+                                              xattr->xe_vallen);
                                else
                                        rc = -ERANGE;
                        }