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 6d63e27..94f0eb9a 100644 --- a/fs/minix/file.c +++ b/fs/minix/file.c @@ -23,7 +23,7 @@ const struct file_operations minix_file_operations = { static int minix_setattr(struct dentry *dentry, struct iattr *attr) { - struct inode *inode = dentry->d_inode; + struct inode *inode = d_inode(dentry); int error; error = inode_change_ok(inode, attr); |