projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sysfs: use generic_file_llseek() for sysfs_file_operations
[linux-2.6-block.git]
/
fs
/
sysfs
/
file.c
diff --git
a/fs/sysfs/file.c
b/fs/sysfs/file.c
index 382db3c045f37bdd9cd1b11e077e24d208997f45..79b5da2acbe184353475f53ccb03793404bd3563 100644
(file)
--- a/
fs/sysfs/file.c
+++ b/
fs/sysfs/file.c
@@
-800,7
+800,7
@@
EXPORT_SYMBOL_GPL(sysfs_notify);
const struct file_operations sysfs_file_operations = {
.read = seq_read,
.write = sysfs_write_file,
- .llseek =
seq_
lseek,
+ .llseek =
generic_file_l
lseek,
.open = sysfs_open_file,
.release = sysfs_release,
.poll = sysfs_poll,