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
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
fs
/
hostfs
/
hostfs_kern.c
diff --git
a/fs/hostfs/hostfs_kern.c
b/fs/hostfs/hostfs_kern.c
index
bf0f8e1
..
b3ad0bd
100644
(file)
--- a/
fs/hostfs/hostfs_kern.c
+++ b/
fs/hostfs/hostfs_kern.c
@@
-384,7
+384,7
@@
int hostfs_fsync(struct file *file, struct dentry *dentry, int datasync)
return fsync_file(HOSTFS_I(dentry->d_inode)->fd, datasync);
}
return fsync_file(HOSTFS_I(dentry->d_inode)->fd, datasync);
}
-static
const
struct file_operations hostfs_file_fops = {
+static struct file_operations hostfs_file_fops = {
.llseek = generic_file_llseek,
.read = generic_file_read,
.sendfile = generic_file_sendfile,
.llseek = generic_file_llseek,
.read = generic_file_read,
.sendfile = generic_file_sendfile,
@@
-399,7
+399,7
@@
static const struct file_operations hostfs_file_fops = {
.fsync = hostfs_fsync,
};
.fsync = hostfs_fsync,
};
-static
const
struct file_operations hostfs_dir_fops = {
+static struct file_operations hostfs_dir_fops = {
.llseek = generic_file_llseek,
.readdir = hostfs_readdir,
.read = generic_read_dir,
.llseek = generic_file_llseek,
.readdir = hostfs_readdir,
.read = generic_read_dir,