]> err.no Git - linux-2.6/commit
[PATCH] Remove f_error field from struct file
authorChristoph Lameter <christoph@graphe.net>
Thu, 23 Jun 2005 07:10:17 +0000 (00:10 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:33 +0000 (09:45 -0700)
commit45778ca819accab1a4a3378b3566cab0f189164f
tree9214491346c8d2d91eb1a11cb6c2e6a9387e4290
parent280dedb8d64ccfe1166ae03d3b254fc3b65de6a5
[PATCH] Remove f_error field from struct file

The following patch removes the f_error field and all checks of f_error.

Trond said:

  f_error was introduced for NFS, and made sense when we were guaranteed
  always to have a file pointer around when write errors occurred.  Since
  then, we have (for various reasons) had to introduce the nfs_open_context in
  order to track the file read/write state, and it made sense to move our
  f_error tracking there too.

Signed-off-by: Christoph Lameter <christoph@lameter.com>
Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfs/direct.c
fs/open.c
include/linux/fs.h
mm/filemap.c