[PATCH] afs: use generic_ro_fops
authorChristoph Hellwig <hch@lst.de>
Mon, 7 Nov 2005 08:59:46 +0000 (00:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:41 +0000 (07:53 -0800)
commita463ddd343dacf5f1badae514ed2c5135ec0c3a9
tree685d7416610c518020960e0f69584b2a21453ded
parentdc487002a26a5733967292356434e61dc5da9c98
[PATCH] afs: use generic_ro_fops

afs actually had a write method that returned different errors depending on
whether some flag was set - better return the standard EINVAL errno.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/afs/file.c
fs/afs/inode.c
fs/afs/internal.h