lkml.org 
[lkml]   [2012]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: compat: autofs v5 packet size ambiguity - update
From
Date
On Wed, 2012-02-22 at 13:43 +0800, Ian Kent wrote:
> On Tue, 2012-02-21 at 20:56 -0800, Linus Torvalds wrote:

Ahh ... forgot to set the file_operations structure member .. oops

>
> +static int autofs4_root_dir_open(struct inode *inode, struct file *file)
> +{
> + struct autofs_sb_info *sbi= autofs4_sbi(file->f_path.dentry->d_sb);
> + if (sbi->compat_daemon < 0)
> + sbi->compat_daemon = is_compat_task();
> + return dcache_dir_open(inode, file);
> +}
> +




\
 
 \ /
  Last update: 2012-02-22 06:57    [W:0.420 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site