[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130929222453.GP13318@ZenIV.linux.org.uk>
Date: Sun, 29 Sep 2013 23:24:53 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: Namhyung Kim <namhyung@...nel.org>
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] vfs: Get rid of duplicate file_ops check in
do_readv_writev()
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists