Re: fs/ntfs/super.c:2717:1-14: alloc with no test

2012-08-26 Thread Fengguang Wu
On Sun, Aug 26, 2012 at 02:42:12PM +0530, devendra.aaru wrote: > On Sun, Aug 26, 2012 at 2:34 PM, Fengguang Wu wrote: > > > > Hi Anton, > > > > FYI, coccinelle warns about > > > > fs/ntfs/super.c:2717:1-14: alloc with no test, possible model on line

Re: fs/ntfs/super.c:2717:1-14: alloc with no test

2012-08-26 Thread devendra.aaru
On Sun, Aug 26, 2012 at 2:34 PM, Fengguang Wu wrote: > > Hi Anton, > > FYI, coccinelle warns about > > fs/ntfs/super.c:2717:1-14: alloc with no test, possible model on line 2718 > > vim +2717 fs/ntfs/super.c > 2714 sb->s_flags |= MS_RDONLY; > 2715

fs/ntfs/super.c:2717:1-14: alloc with no test

2012-08-26 Thread Fengguang Wu
Hi Anton, FYI, coccinelle warns about fs/ntfs/super.c:2717:1-14: alloc with no test, possible model on line 2718 vim +2717 fs/ntfs/super.c 2714 sb->s_flags |= MS_RDONLY; 2715 #endif /* ! NTFS_RW */ 2716 /* Allocate a new ntfs_volume and place it in sb->s_f

fs/ntfs/super.c:2717:1-14: alloc with no test

2012-08-26 Thread Fengguang Wu
Hi Anton, FYI, coccinelle warns about fs/ntfs/super.c:2717:1-14: alloc with no test, possible model on line 2718 vim +2717 fs/ntfs/super.c 2714 sb-s_flags |= MS_RDONLY; 2715 #endif /* ! NTFS_RW */ 2716 /* Allocate a new ntfs_volume and place it in sb-s_fs_info

Re: fs/ntfs/super.c:2717:1-14: alloc with no test

2012-08-26 Thread devendra.aaru
On Sun, Aug 26, 2012 at 2:34 PM, Fengguang Wu fengguang...@intel.com wrote: Hi Anton, FYI, coccinelle warns about fs/ntfs/super.c:2717:1-14: alloc with no test, possible model on line 2718 vim +2717 fs/ntfs/super.c 2714 sb-s_flags |= MS_RDONLY; 2715 #endif /* ! NTFS_RW

Re: fs/ntfs/super.c:2717:1-14: alloc with no test

2012-08-26 Thread Fengguang Wu
On Sun, Aug 26, 2012 at 02:42:12PM +0530, devendra.aaru wrote: On Sun, Aug 26, 2012 at 2:34 PM, Fengguang Wu fengguang...@intel.com wrote: Hi Anton, FYI, coccinelle warns about fs/ntfs/super.c:2717:1-14: alloc with no test, possible model on line 2718 vim +2717 fs/ntfs/super.c