projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7078187
)
fuse: use file_inode() in fuse_file_fallocate()
author
Miklos Szeredi
<mszeredi@suse.cz>
Fri, 12 Dec 2014 09:04:51 +0000
(10:04 +0100)
committer
Miklos Szeredi
<mszeredi@suse.cz>
Fri, 12 Dec 2014 09:04:51 +0000
(10:04 +0100)
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/fuse/file.c
patch
|
blob
|
history
diff --git
a/fs/fuse/file.c
b/fs/fuse/file.c
index e8729ac3076207d70b3362f5f1cc650eea6ff47d..945bfbaf1db891ea2e4991b0e1b8d89ea175c8f7 100644
(file)
--- a/
fs/fuse/file.c
+++ b/
fs/fuse/file.c
@@
-2884,7
+2884,7
@@
static long fuse_file_fallocate(struct file *file, int mode, loff_t offset,
loff_t length)
{
struct fuse_file *ff = file->private_data;
- struct inode *inode = file
->f_inode
;
+ struct inode *inode = file
_inode(file)
;
struct fuse_inode *fi = get_fuse_inode(inode);
struct fuse_conn *fc = ff->fc;
FUSE_ARGS(args);