diff options
| -rw-r--r-- | fs/ceph/mds_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c index fee028b5332e..86c59e16ba74 100644 --- a/fs/ceph/mds_client.c +++ b/fs/ceph/mds_client.c | |||
| @@ -1595,7 +1595,7 @@ static int set_request_path_attr(struct inode *rinode, struct dentry *rdentry, | |||
| 1595 | r = build_dentry_path(rdentry, ppath, pathlen, ino, freepath); | 1595 | r = build_dentry_path(rdentry, ppath, pathlen, ino, freepath); |
| 1596 | dout(" dentry %p %llx/%.*s\n", rdentry, *ino, *pathlen, | 1596 | dout(" dentry %p %llx/%.*s\n", rdentry, *ino, *pathlen, |
| 1597 | *ppath); | 1597 | *ppath); |
| 1598 | } else if (rpath) { | 1598 | } else if (rpath || rino) { |
| 1599 | *ino = rino; | 1599 | *ino = rino; |
| 1600 | *ppath = rpath; | 1600 | *ppath = rpath; |
| 1601 | *pathlen = strlen(rpath); | 1601 | *pathlen = strlen(rpath); |
