diff mbox

ceph: tidy some white space in get_nonsnap_parent()

Message ID 20170223103852.GA27418@mwanda (mailing list archive)
State New, archived
Headers show

Commit Message

Dan Carpenter Feb. 23, 2017, 10:39 a.m. UTC
The white space here seems slightly messed up.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Ilya Dryomov Feb. 23, 2017, 4:42 p.m. UTC | #1
On Thu, Feb 23, 2017 at 11:39 AM, Dan Carpenter
<dan.carpenter@oracle.com> wrote:
> The white space here seems slightly messed up.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
>
> diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c
> index fdbc3544e41c..c681762d76e6 100644
> --- a/fs/ceph/mds_client.c
> +++ b/fs/ceph/mds_client.c
> @@ -679,8 +679,9 @@ static void __unregister_request(struct ceph_mds_client *mdsc,
>   * working with them. Once we hit a candidate dentry, we attempt to take a
>   * reference to it, and return that as the result.
>   */
> -static struct inode *get_nonsnap_parent(struct dentry *dentry) { struct inode
> -       *inode = NULL;
> +static struct inode *get_nonsnap_parent(struct dentry *dentry)
> +{
> +       struct inode *inode = NULL;
>
>         while (dentry && !IS_ROOT(dentry)) {
>                 inode = d_inode_rcu(dentry);

Applied.

Thanks,

                Ilya
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c
index fdbc3544e41c..c681762d76e6 100644
--- a/fs/ceph/mds_client.c
+++ b/fs/ceph/mds_client.c
@@ -679,8 +679,9 @@  static void __unregister_request(struct ceph_mds_client *mdsc,
  * working with them. Once we hit a candidate dentry, we attempt to take a
  * reference to it, and return that as the result.
  */
-static struct inode *get_nonsnap_parent(struct dentry *dentry) { struct inode
-	*inode = NULL;
+static struct inode *get_nonsnap_parent(struct dentry *dentry)
+{
+	struct inode *inode = NULL;
 
 	while (dentry && !IS_ROOT(dentry)) {
 		inode = d_inode_rcu(dentry);