diff options
Diffstat (limited to 'fs/minix/file.c')
-rw-r--r-- | fs/minix/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/minix/file.c b/fs/minix/file.c index 6d63e27ec961..94f0eb9a6e2c 100644 --- a/fs/minix/file.c +++ b/fs/minix/file.c | |||
@@ -23,7 +23,7 @@ const struct file_operations minix_file_operations = { | |||
23 | 23 | ||
24 | static int minix_setattr(struct dentry *dentry, struct iattr *attr) | 24 | static int minix_setattr(struct dentry *dentry, struct iattr *attr) |
25 | { | 25 | { |
26 | struct inode *inode = dentry->d_inode; | 26 | struct inode *inode = d_inode(dentry); |
27 | int error; | 27 | int error; |
28 | 28 | ||
29 | error = inode_change_ok(inode, attr); | 29 | error = inode_change_ok(inode, attr); |