* [patch] ceph: tidy some white space in get_nonsnap_parent()
@ 2017-02-23 10:39 Dan Carpenter
2017-02-23 16:42 ` Ilya Dryomov
0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2017-02-23 10:39 UTC (permalink / raw)
To: Yan, Zheng; +Cc: Sage Weil, Ilya Dryomov, ceph-devel, kernel-janitors
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);
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [patch] ceph: tidy some white space in get_nonsnap_parent()
2017-02-23 10:39 [patch] ceph: tidy some white space in get_nonsnap_parent() Dan Carpenter
@ 2017-02-23 16:42 ` Ilya Dryomov
0 siblings, 0 replies; 2+ messages in thread
From: Ilya Dryomov @ 2017-02-23 16:42 UTC (permalink / raw)
To: Dan Carpenter; +Cc: Yan, Zheng, Sage Weil, Ceph Development, kernel-janitors
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-23 16:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-23 10:39 [patch] ceph: tidy some white space in get_nonsnap_parent() Dan Carpenter
2017-02-23 16:42 ` Ilya Dryomov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox