lkml.org 
[lkml]   [2009]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH 4/8] file c/r: expose functions to query fs support
From
Date
On Fri, 2009-02-27 at 13:14 -0800, Sukadev Bhattiprolu wrote:
> Dave Hansen [dave@linux.vnet.ibm.com] wrote:
> | +int cr_file_supported(struct file *file)
> | +{
> | + struct inode *inode = file->f_dentry->d_inode;
> | + struct file_system_type *fs_type = inode->i_sb->s_type;
> | +
> | + if (fs_is_cr_able(fs_type))
> | + return 0;
>
> Should this be if (!fs_is_cr_able(fs_type)) ?

Yes. I did find and fix that at some point, but it appears I didn't
manage to integrate it into what I sent out.

Thanks, Suka.

-- Dave



\
 
 \ /
  Last update: 2009-02-27 22:27    [W:0.080 / U:0.808 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site