diff options
-rw-r--r-- | fs/fuse/file.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c index 2bada6bbc317..98079aa800e8 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c | |||
@@ -1448,6 +1448,9 @@ static loff_t fuse_file_llseek(struct file *file, loff_t offset, int origin) | |||
1448 | mutex_lock(&inode->i_mutex); | 1448 | mutex_lock(&inode->i_mutex); |
1449 | switch (origin) { | 1449 | switch (origin) { |
1450 | case SEEK_END: | 1450 | case SEEK_END: |
1451 | retval = fuse_update_attributes(inode, NULL, file, NULL); | ||
1452 | if (retval) | ||
1453 | return retval; | ||
1451 | offset += i_size_read(inode); | 1454 | offset += i_size_read(inode); |
1452 | break; | 1455 | break; |
1453 | case SEEK_CUR: | 1456 | case SEEK_CUR: |