Linux-CIFS Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] CIFS: fix a white space issue in cifs_get_inode_info()
@ 2019-11-26 12:11 Dan Carpenter
  2019-11-27 17:35 ` Steve French
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2019-11-26 12:11 UTC (permalink / raw)
  To: Steve French, Aurelien Aptel; +Cc: linux-cifs, samba-technical, kernel-janitors

We accidentally messed up the indenting on this if statement.

Fixes: 16c696a6c300 ("CIFS: refactor cifs_get_inode_info()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
---
 fs/cifs/inode.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index 1fec2e7d796a..8a76195e8a69 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -967,7 +967,8 @@ cifs_get_inode_info(struct inode **inode,
 		}
 	} else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) {
 		rc = cifs_acl_to_fattr(cifs_sb, &fattr, *inode, false,
-				       full_path, fid);		if (rc) {
+				       full_path, fid);
+		if (rc) {
 			cifs_dbg(FYI, "%s: Getting ACL failed with error: %d\n",
 				 __func__, rc);
 			goto out;
-- 
2.11.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] CIFS: fix a white space issue in cifs_get_inode_info()
  2019-11-26 12:11 [PATCH] CIFS: fix a white space issue in cifs_get_inode_info() Dan Carpenter
@ 2019-11-27 17:35 ` Steve French
  0 siblings, 0 replies; 2+ messages in thread
From: Steve French @ 2019-11-27 17:35 UTC (permalink / raw)
  To: Dan Carpenter
  Cc: Steve French, Aurelien Aptel, CIFS, kernel-janitors, samba-technical

merged into cifs-2.6.git for-next

On Tue, Nov 26, 2019 at 6:14 AM Dan Carpenter via samba-technical
<samba-technical@lists.samba.org> wrote:
>
> We accidentally messed up the indenting on this if statement.
>
> Fixes: 16c696a6c300 ("CIFS: refactor cifs_get_inode_info()")
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> ---
>  fs/cifs/inode.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
> index 1fec2e7d796a..8a76195e8a69 100644
> --- a/fs/cifs/inode.c
> +++ b/fs/cifs/inode.c
> @@ -967,7 +967,8 @@ cifs_get_inode_info(struct inode **inode,
>                 }
>         } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) {
>                 rc = cifs_acl_to_fattr(cifs_sb, &fattr, *inode, false,
> -                                      full_path, fid);         if (rc) {
> +                                      full_path, fid);
> +               if (rc) {
>                         cifs_dbg(FYI, "%s: Getting ACL failed with error: %d\n",
>                                  __func__, rc);
>                         goto out;
> --
> 2.11.0
>
>


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-26 12:11 [PATCH] CIFS: fix a white space issue in cifs_get_inode_info() Dan Carpenter
2019-11-27 17:35 ` Steve French

Linux-CIFS Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-cifs/0 linux-cifs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-cifs linux-cifs/ https://lore.kernel.org/linux-cifs \
		linux-cifs@vger.kernel.org
	public-inbox-index linux-cifs

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-cifs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git