Session Module
Data Fields
session_priv_data Struct Reference

This structure is linked to the original file through the field private_data and the main purpose is to keep the pointer to the session file. More...

#include <session_module.h>

Data Fields

struct rw_semaphore * rw_sem
 
struct file * session_filp
 
char * abs_path
 

Detailed Description

This structure is linked to the original file through the field private_data and the main purpose is to keep the pointer to the session file.

Field Documentation

char* abs_path

This is a redundance, it avoid the use of the d_path

struct rw_semaphore* rw_sem

This is a redundance, is a copy of the one present into the struct session_file_node, prevents a search into the rb_tree

struct file* session_filp

This is the real sense of this structure, it's a pointer pointing to the session_file, the incarnation of the original one and the core of the sessions


The documentation for this struct was generated from the following file: