mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
ceph: remove the useless judgement
err != 0 is already handled. So skip this. Signed-off-by: Jianpeng Ma <[email protected]> Signed-off-by: Yan, Zheng <[email protected]>
This commit is contained in:
parent
1550d34e56
commit
a43137f7b0
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ int ceph_atomic_open(struct inode *dir, struct dentry *dentry,
|
|||
if (err)
|
||||
goto out_req;
|
||||
|
||||
if (err == 0 && (flags & O_CREAT) && !req->r_reply_info.head->is_dentry)
|
||||
if ((flags & O_CREAT) && !req->r_reply_info.head->is_dentry)
|
||||
err = ceph_handle_notrace_create(dir, dentry);
|
||||
|
||||
if (d_unhashed(dentry)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue