ceph: tidy some white space in get_nonsnap_parent()
Subsystems (2)
PATCH 1/1 ceph: tidy some white space in get_nonsnap_parent()
The white space here seems slightly messed up.
Signed-off-by Dan Carpenter <[email protected]>
fs/ceph/mds_client.c +3 -2
@@ -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);
Quoted 10 lines · Dan Carpenter
The white space here seems slightly messed up.
Signed-off-by Dan Carpenter <[email protected]>fs/ceph/mds_client.c +0
-0@@ -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
fs/ceph/mds_client.c static void __unregister_request(struct ceph_mds_client *mdsc, · line 687
Quoted 10 lines
fs/ceph/mds_client.c +3
-2* 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