Changeset 263 for ksyslog/trunk
- Timestamp:
- 10/15/13 02:25:05 (12 years ago)
- File:
- 
          - 1 edited
 
 - 
          ksyslog/trunk/ksyslog.c (modified) (3 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
        ksyslog/trunk/ksyslog.cr250 r263 11 11 #include <linux/udp.h> 12 12 #include <linux/namei.h> 13 #include <linux/fsnotify.h> 13 14 #include <linux/proc_fs.h> 14 15 #include <linux/u64_stats_sync.h> … … 69 70 ksyslog_close(struct file *file) 70 71 { 71 return filp_close(file, NULL); 72 int err; 73 mm_segment_t oldfs; 74 75 oldfs = get_fs(); 76 set_fs(get_ds()); 77 78 err = filp_close(file, NULL); 79 80 set_fs(oldfs); 81 return err; 72 82 } 73 83 … … 89 99 if (unlikely(IS_ERR(file))) 90 100 goto out; 101 102 fsnotify_open(file->f_path.dentry); 91 103 92 104 if (unlikely(S_ISDIR(file->f_path.dentry->d_inode->i_mode))) { 
Note: See TracChangeset
          for help on using the changeset viewer.
      
