git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
fs
/
freevxfs
/
vxfs_inode.c
diff --git
a/fs/freevxfs/vxfs_inode.c
b/fs/freevxfs/vxfs_inode.c
index
9672d2f
..
f544aae
100644
(file)
--- a/
fs/freevxfs/vxfs_inode.c
+++ b/
fs/freevxfs/vxfs_inode.c
@@
-46,15
+46,6
@@
extern struct address_space_operations vxfs_immed_aops;
extern struct inode_operations vxfs_immed_symlink_iops;
extern struct inode_operations vxfs_immed_symlink_iops;
-static struct file_operations vxfs_file_operations = {
- .open = generic_file_open,
- .llseek = generic_file_llseek,
- .read = generic_file_read,
- .mmap = generic_file_mmap,
- .sendfile = generic_file_sendfile,
-};
-
-
kmem_cache_t *vxfs_inode_cachep;
kmem_cache_t *vxfs_inode_cachep;
@@
-318,7
+309,7
@@
vxfs_read_inode(struct inode *ip)
aops = &vxfs_aops;
if (S_ISREG(ip->i_mode)) {
aops = &vxfs_aops;
if (S_ISREG(ip->i_mode)) {
- ip->i_fop = &
vxfs_file_operation
s;
+ ip->i_fop = &
generic_ro_fop
s;
ip->i_mapping->a_ops = aops;
} else if (S_ISDIR(ip->i_mode)) {
ip->i_op = &vxfs_dir_inode_ops;
ip->i_mapping->a_ops = aops;
} else if (S_ISDIR(ip->i_mode)) {
ip->i_op = &vxfs_dir_inode_ops;