projects
/
linux-flexiantxendom0-3.2.10.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d438884
)
[PATCH] ramfs: use rgeneric_file_llseek
author
Andrew Morton <akpm@osdl.org>
Wed, 2 Jul 2003 15:47:51 +0000
(08:47 -0700)
committer
Linus Torvalds <torvalds@home.osdl.org>
Wed, 2 Jul 2003 15:47:51 +0000
(08:47 -0700)
Teach ramfs to use generic_file_llseek: default_llseek takes lock_kernel().
fs/ramfs/inode.c
patch
|
blob
|
history
diff --git
a/fs/ramfs/inode.c
b/fs/ramfs/inode.c
index
372f065
..
bd0a676
100644
(file)
--- a/
fs/ramfs/inode.c
+++ b/
fs/ramfs/inode.c
@@
-146,6
+146,7
@@
static struct file_operations ramfs_file_operations = {
.mmap = generic_file_mmap,
.fsync = simple_sync_file,
.sendfile = generic_file_sendfile,
+ .llseek = generic_file_llseek,
};
static struct inode_operations ramfs_file_inode_operations = {