diff options
author | Oleg Drokin | 2015-05-16 09:38:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-05-31 02:29:45 +0200 |
commit | a612b007280192743f52a8fb764aefbeca05f188 (patch) | |
tree | d86585183695c3ac1da189eddc8218081b3954d7 | |
parent | staging/lustre/ptlrpc: Fix potential NULL pointer dereference (diff) | |
download | kernel-qcow2-linux-a612b007280192743f52a8fb764aefbeca05f188.tar.gz kernel-qcow2-linux-a612b007280192743f52a8fb764aefbeca05f188.tar.xz kernel-qcow2-linux-a612b007280192743f52a8fb764aefbeca05f188.zip |
staging/lustre/llite: Fix wrong identing in ll_setxattr_common
smatch has highlighted wrong indenting that results from
commit 7fc1f831d83f ("staging/lustre/llite: extended attribute cache")
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/lustre/lustre/llite/xattr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/lustre/lustre/llite/xattr.c b/drivers/staging/lustre/lustre/llite/xattr.c index e0fcbe1395fd..362a87d0d0d3 100644 --- a/drivers/staging/lustre/lustre/llite/xattr.c +++ b/drivers/staging/lustre/lustre/llite/xattr.c @@ -188,11 +188,11 @@ int ll_setxattr_common(struct inode *inode, const char *name, valid |= rce_ops2valid(rce->rce_ops); } #endif - oc = ll_mdscapa_get(inode); - rc = md_setxattr(sbi->ll_md_exp, ll_inode2fid(inode), oc, - valid, name, pv, size, 0, flags, - ll_i2suppgid(inode), &req); - capa_put(oc); + oc = ll_mdscapa_get(inode); + rc = md_setxattr(sbi->ll_md_exp, ll_inode2fid(inode), oc, + valid, name, pv, size, 0, flags, + ll_i2suppgid(inode), &req); + capa_put(oc); #ifdef CONFIG_FS_POSIX_ACL if (new_value != NULL) lustre_posix_acl_xattr_free(new_value, size); |