赞
踩
获取文件名:
struct file *filp;filp->f_path.dentry->d_iname
获取全路径:
dentry_path_raw(filp->f_path.dentry,buf,buflen)