Skip to content

Commit

Permalink
website: update translation (#1779)
Browse files Browse the repository at this point in the history
  • Loading branch information
igormiguell authored May 28, 2024
1 parent 9343376 commit 916d6bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/docs/pt_BR/guide/how-to-integrate-for-non-gki.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,9 @@ index 32f6f1c68..d69d8eca2 100644
return dentry;
}

+#ifdef CONFIG_KSU
+extern int ksu_handle_devpts(struct inode*);
+#endif
+
/**
* devpts_get_priv -- get private data for a slave
Expand All @@ -325,7 +327,9 @@ index 32f6f1c68..d69d8eca2 100644
*/
void *devpts_get_priv(struct dentry *dentry)
{
+ #ifdef CONFIG_KSU
+ ksu_handle_devpts(dentry->d_inode);
+ #ifdef CONFIG_KSU
if (dentry->d_sb->s_magic != DEVPTS_SUPER_MAGIC)
return NULL;
return dentry->d_fsdata;
Expand Down

0 comments on commit 916d6bc

Please sign in to comment.