Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1486066

[PATCH 035/124] staging: lustre: llite: style cleanup for ll_mkdir

From James Simmons <jsimmons@infradead.org>
Newsgroups linux.kernel
Subject [PATCH 035/124] staging: lustre: llite: style cleanup for ll_mkdir
Date 2016-09-18 23:10 +0200
Message-ID <siRvB-4Ox-45@gated-at.bofh.it> (permalink)
References <siR2y-4o4-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: John L. Hammond <john.hammond@intel.com>

Style cleanup to make the code readable.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2675
Reviewed-on: http://review.whamcloud.com/10769
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
---
 drivers/staging/lustre/lustre/llite/namei.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/lustre/lustre/llite/namei.c b/drivers/staging/lustre/lustre/llite/namei.c
index fadac44..5e182fc 100644
--- a/drivers/staging/lustre/lustre/llite/namei.c
+++ b/drivers/staging/lustre/lustre/llite/namei.c
@@ -1015,8 +1015,8 @@ static int ll_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
 	if (!IS_POSIXACL(dir) || !exp_connect_umask(ll_i2mdexp(dir)))
 		mode &= ~current_umask();
 	mode = (mode & (S_IRWXUGO | S_ISVTX)) | S_IFDIR;
-	err = ll_new_node(dir, dentry, NULL, mode, 0, LUSTRE_OPC_MKDIR);
 
+	err = ll_new_node(dir, dentry, NULL, mode, 0, LUSTRE_OPC_MKDIR);
 	if (!err)
 		ll_stats_ops_tally(ll_i2sbi(dir), LPROC_LL_MKDIR, 1);
 
-- 
1.7.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 000/124] missing patches from Lustre 2.7 release James Simmons <jsimmons@infradead.org> - 2016-09-18 23:10 +0200
  [PATCH 014/124] staging: lustre: lmv: release locks if lmv_intent_lock() fails James Simmons <jsimmons@infradead.org> - 2016-09-18 23:10 +0200
  [PATCH 039/124] staging: lustre: remove lustre_lite.h James Simmons <jsimmons@infradead.org> - 2016-09-18 23:10 +0200
  [PATCH 007/124] staging: lustre: obd: add lnb_ prefix to members of struct niobuf_local James Simmons <jsimmons@infradead.org> - 2016-09-18 23:10 +0200
  [PATCH 030/124] staging: lustre: llite: Replace write mutex with range lock James Simmons <jsimmons@infradead.org> - 2016-09-18 23:10 +0200
    Re: [PATCH 030/124] staging: lustre: llite: Replace write mutex with  range lock Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-09-19 09:30 +0200
      Re: [lustre-devel] [PATCH 030/124] staging: lustre: llite: Replace  write mutex with range lock "Dilger, Andreas" <andreas.dilger@intel.com> - 2016-09-19 11:30 +0200
        Re: [lustre-devel] [PATCH 030/124] staging: lustre: llite: Replace  write mutex with range lock Jan Kara <jack@suse.cz> - 2016-09-19 12:00 +0200
  [PATCH 016/124] staging: lustre: fix comparison between signed and unsigned James Simmons <jsimmons@infradead.org> - 2016-09-18 23:10 +0200
  [PATCH 041/124] staging: lustre: llite: don't call make_bad_inode() on an old inode James Simmons <jsimmons@infradead.org> - 2016-09-18 23:10 +0200
  [PATCH 043/124] staging: lustre: lmv: change type of lmv_obd->tgts_size to u32 James Simmons <jsimmons@infradead.org> - 2016-09-18 23:10 +0200
  [PATCH 022/124] staging: lustre: llog: add newly opened llog at tail of handle list James Simmons <jsimmons@infradead.org> - 2016-09-18 23:10 +0200
  [PATCH 010/124] staging: lustre: llite: add LL_LEASE_{RD,WR,UN}LCK James Simmons <jsimmons@infradead.org> - 2016-09-18 23:10 +0200
  [PATCH 035/124] staging: lustre: llite: style cleanup for ll_mkdir James Simmons <jsimmons@infradead.org> - 2016-09-18 23:10 +0200
  [PATCH 054/124] staging: lustre: llite: Add ioctl to get parent fids from link EA. James Simmons <jsimmons@infradead.org> - 2016-09-18 23:10 +0200
  [PATCH 020/124] staging: lustre: lmv: release request in lmv_revalidate_slaves() James Simmons <jsimmons@infradead.org> - 2016-09-18 23:10 +0200
  [PATCH 044/124] staging: lustre: misc: Reduce exposure to overflow on page counters. James Simmons <jsimmons@infradead.org> - 2016-09-18 23:10 +0200
  Re: [PATCH 000/124] missing patches from Lustre 2.7 release Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-09-19 10:20 +0200

csiph-web