[linux-cifs-client] Re: [RFC PATCH] cifs: reindent misindented statement

Steve French smfrench at gmail.com
Tue Aug 19 14:25:17 GMT 2008


merged

On Tue, Aug 19, 2008 at 2:51 AM, Ilpo Järvinen
<ilpo.jarvinen at helsinki.fi> wrote:
>
> I have no clue which is correct way here (reindent or block
> braces). After the change it's similar to what's in readdir.c.
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen at helsinki.fi>
> ---
>  fs/cifs/inode.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
> index 28a2209..24504d2 100644
> --- a/fs/cifs/inode.c
> +++ b/fs/cifs/inode.c
> @@ -546,7 +546,7 @@ int cifs_get_inode_info(struct inode **pinode,
>                if ((inode->i_mode & S_IWUGO) == 0 &&
>                    (attr & ATTR_READONLY) == 0)
>                        inode->i_mode |= (S_IWUGO & default_mode);
> -                       inode->i_mode &= ~S_IFMT;
> +               inode->i_mode &= ~S_IFMT;
>        }
>        /* clear write bits if ATTR_READONLY is set */
>        if (attr & ATTR_READONLY)
> --
> 1.5.2.2
>



-- 
Thanks,

Steve


More information about the linux-cifs-client mailing list