Re: [Ocfs2-devel] Maybe a null point bug in __ocfs2_change_file_space.

2012-04-13 Thread Tao Ma
Hi Limin, Thanks for the report and the patch is already there. Please search the archive with the subject "ocfs2: Fix oops in fallocate()". Thanks Tao On 04/13/2012 03:58 PM, Chang Limin wrote: > Hi, > > Version linux-3.3 > > In function > > static long ocfs2_fallocate(struct file *fi

[Ocfs2-devel] Maybe a null point bug in __ocfs2_change_file_space.

2012-04-13 Thread Chang Limin
Hi, Version linux-3.3 In function static long ocfs2_fallocate(struct file *file, int mode, loff_t offset, loff_t len) { … return __ocfs2_change_file_space(NULL, inode, offset, cmd, &sr, // file is NULL change_size); } In f

[Ocfs2-devel] Maybe a null point bug in __ocfs2_change_file_space.

2012-04-13 Thread Chang Limin
Hi, Version linux-3.3 In function static long ocfs2_fallocate(struct file *file, int mode, loff_t offset, loff_t len) { … return __ocfs2_change_file_space(NULL, inode, offset, cmd, &sr, // file is NULL change_size); } In f