linux56-tkg: Fix tp_smapi_ec patchset
This commit is contained in:
@@ -2290,10 +2290,11 @@ index cb81623a8b09..a92b0f6061ac 100644
|
||||
int do_truncate(struct dentry *dentry, loff_t length, unsigned int time_attrs,
|
||||
struct file *filp)
|
||||
{
|
||||
@@ -1068,8 +1071,10 @@ long do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode)
|
||||
@@ -1068,8 +1071,11 @@ long do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode)
|
||||
|
||||
long do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode)
|
||||
{
|
||||
+ struct filename *tmp;
|
||||
+ tmp = getname(filename);
|
||||
struct open_how how = build_open_how(flags, mode);
|
||||
return do_sys_openat2(dfd, filename, &how);
|
||||
|
Reference in New Issue
Block a user