Changeset 264 for ksyslog/trunk/compat.h


Ignore:
Timestamp:
10/16/13 02:04:40 (11 years ago)
Author:
atzm
Message:

fsnotify_open compat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ksyslog/trunk/compat.h

    r248 r264  
    1414                pos = rcu_dereference_raw(list_next_rcu(pos))) 
    1515#endif 
     16 
     17static inline void 
     18compat_fsnotify_open(struct file *file) 
     19{ 
     20#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35) 
     21        fsnotify_open(file->f_path.dentry); 
     22#else 
     23        fsnotify_open(file); 
     24#endif 
     25} 
    1626 
    1727#if LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0) 
Note: See TracChangeset for help on using the changeset viewer.