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 5dadad9960b9..7a95b8fed302 100644
--- a/fs/udf/file.c
+++ b/fs/udf/file.c
@@ -249,7 +249,7 @@ const struct file_operations udf_file_operations = {
249 249
250static int udf_setattr(struct dentry *dentry, struct iattr *attr) 250static int udf_setattr(struct dentry *dentry, struct iattr *attr)
251{ 251{
252 struct inode *inode = dentry->d_inode; 252 struct inode *inode = d_inode(dentry);
253 int error; 253 int error;
254 254
255 error = inode_change_ok(inode, attr); 255 error = inode_change_ok(inode, attr);