diff options
author | Arnd Bergmann <arnd@arndb.de> | 2010-07-06 22:54:51 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2010-09-16 10:33:13 +0200 |
commit | 275bd41a6da179b4493171fa65eeeb2a9e47b316 (patch) | |
tree | 05dca647fd50d2a2c609b3cefedda53972c8a5e9 /drivers/misc | |
parent | fe3b79dfdc34e562b8378fa958a503a2d5b077ff (diff) | |
download | kernel_goldelico_gta04-275bd41a6da179b4493171fa65eeeb2a9e47b316.zip kernel_goldelico_gta04-275bd41a6da179b4493171fa65eeeb2a9e47b316.tar.gz kernel_goldelico_gta04-275bd41a6da179b4493171fa65eeeb2a9e47b316.tar.bz2 |
ibmasmfs: use generic_file_llseek
The default for llseek will change to no_llseek,
so ibmasmfs needs to add explicit .llseek
assignments. Since we're dealing with regular
files from a VFS perspective, use generic_file_llseek.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/ibmasm/ibmasmfs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/misc/ibmasm/ibmasmfs.c b/drivers/misc/ibmasm/ibmasmfs.c index 8844a3f..af2497a 100644 --- a/drivers/misc/ibmasm/ibmasmfs.c +++ b/drivers/misc/ibmasm/ibmasmfs.c @@ -584,6 +584,7 @@ static const struct file_operations command_fops = { .release = command_file_close, .read = command_file_read, .write = command_file_write, + .llseek = generic_file_llseek, }; static const struct file_operations event_fops = { @@ -591,6 +592,7 @@ static const struct file_operations event_fops = { .release = event_file_close, .read = event_file_read, .write = event_file_write, + .llseek = generic_file_llseek, }; static const struct file_operations r_heartbeat_fops = { @@ -598,6 +600,7 @@ static const struct file_operations r_heartbeat_fops = { .release = r_heartbeat_file_close, .read = r_heartbeat_file_read, .write = r_heartbeat_file_write, + .llseek = generic_file_llseek, }; static const struct file_operations remote_settings_fops = { @@ -605,6 +608,7 @@ static const struct file_operations remote_settings_fops = { .release = remote_settings_file_close, .read = remote_settings_file_read, .write = remote_settings_file_write, + .llseek = generic_file_llseek, }; |