staging/lustre/llite: don't d_add for create only files
This is only part of the original Lustre commit. Splitted to remove d_add() for create only files, because the dentry is fake, and will be released right after use. Lustre-change: http://review.whamcloud.com/6797 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3486Signed-off-by: NLai Siyao <lai.siyao@intel.com> Reviewed-by: NJames Simmons <uja.ornl@gmail.com> Reviewed-by: NPeng Tao <bergwolf@gmail.com> Reviewed-by: NBobi Jam <bobijam@gmail.com> Reviewed-by: NFan Yong <fan.yong@intel.com> Reviewed-by: NAlexey Shvetsov <alexxy@gentoo.org> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NPeng Tao <bergwolf@gmail.com> Signed-off-by: NAndreas Dilger <andreas.dilger@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录