aboutsummaryrefslogtreecommitdiffstats
path: root/fs/udf/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/udf/file.c')
-rw-r--r--fs/udf/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/udf/file.c b/fs/udf/file.c
index 3de2edafff73..a84cdd2ef618 100644
--- a/fs/udf/file.c
+++ b/fs/udf/file.c
@@ -250,7 +250,7 @@ const struct file_operations udf_file_operations = {
250 250
251static int udf_setattr(struct dentry *dentry, struct iattr *attr) 251static int udf_setattr(struct dentry *dentry, struct iattr *attr)
252{ 252{
253 struct inode *inode = dentry->d_inode; 253 struct inode *inode = d_inode(dentry);
254 int error; 254 int error;
255 255
256 error = inode_change_ok(inode, attr); 256 error = inode_change_ok(inode, attr);