Re: [PATCH 2/2] vfs: Get rid of duplicate file_ops check indo_readv_writev()

From: Al Viro
Date: Sun Sep 29 2013 - 18:25:19 EST

On Sun, Sep 29, 2013 at 06:37:50PM +0900, Namhyung Kim wrote:
> The file->f_op check in do_readv_writev() is redundant since all of
> its caller (vfs_readv and vfs_writev) already did the check. The
> same goes to compat_do_readv_writev().

... and the right fix is to kill all those checks completely. I have that
done in local queue; will push to #for-next tonight. file->f_op should
never be NULL, period.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at