projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
poll: add poll_requested_events() and poll_does_not_wait() functions
[firefly-linux-kernel-4.4.55.git]
/
fs
/
ceph
/
super.c
diff --git
a/fs/ceph/super.c
b/fs/ceph/super.c
index 00de2c9568cd89b13af544b87bc2f43acefa8b30..256f852219261e66984384fe19bb7182bf8dd50a 100644
(file)
--- a/
fs/ceph/super.c
+++ b/
fs/ceph/super.c
@@
-655,9
+655,8
@@
static struct dentry *open_root_dentry(struct ceph_fs_client *fsc,
dout("open_root_inode success\n");
if (ceph_ino(inode) == CEPH_INO_ROOT &&
fsc->sb->s_root == NULL) {
- root = d_
alloc
_root(inode);
+ root = d_
make
_root(inode);
if (!root) {
- iput(inode);
root = ERR_PTR(-ENOMEM);
goto out;
}