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 7c7a1b39d56c..3bd5068877fa 100644
--- a/fs/udf/file.c
+++ b/fs/udf/file.c
@@ -192,7 +192,7 @@ int udf_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
192 switch (cmd) { 192 switch (cmd) {
193 case UDF_GETVOLIDENT: 193 case UDF_GETVOLIDENT:
194 return copy_to_user((char __user *)arg, 194 return copy_to_user((char __user *)arg,
195 UDF_SB_VOLIDENT(inode->i_sb), 32) ? -EFAULT : 0; 195 UDF_SB(inode->i_sb)->s_volume_ident, 32) ? -EFAULT : 0;
196 case UDF_RELOCATE_BLOCKS: 196 case UDF_RELOCATE_BLOCKS:
197 if (!capable(CAP_SYS_ADMIN)) 197 if (!capable(CAP_SYS_ADMIN))
198 return -EACCES; 198 return -EACCES;