mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
[PATCH] struct path: convert s390
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
49522c97ac
commit
d20343e740
2 changed files with 4 additions and 4 deletions
|
@ -603,13 +603,13 @@ debug_open(struct inode *inode, struct file *file)
|
|||
debug_info_t *debug_info, *debug_info_snapshot;
|
||||
|
||||
down(&debug_lock);
|
||||
debug_info = file->f_dentry->d_inode->i_private;
|
||||
debug_info = file->f_path.dentry->d_inode->i_private;
|
||||
/* find debug view */
|
||||
for (i = 0; i < DEBUG_MAX_VIEWS; i++) {
|
||||
if (!debug_info->views[i])
|
||||
continue;
|
||||
else if (debug_info->debugfs_entries[i] ==
|
||||
file->f_dentry) {
|
||||
file->f_path.dentry) {
|
||||
goto found; /* found view ! */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue