[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>
This commit is contained in:

کامیت شده توسط
Linus Torvalds

والد
dc487002a2
کامیت
a463ddd343
@@ -71,7 +71,6 @@ extern struct file_operations afs_dir_file_operations;
|
||||
*/
|
||||
extern struct address_space_operations afs_fs_aops;
|
||||
extern struct inode_operations afs_file_inode_operations;
|
||||
extern struct file_operations afs_file_file_operations;
|
||||
|
||||
#ifdef AFS_CACHING_SUPPORT
|
||||
extern int afs_cache_get_page_cookie(struct page *page,
|
||||
|
مرجع در شماره جدید
Block a user