diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_lrw.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_lrw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_lrw.c b/fs/xfs/linux-2.6/xfs_lrw.c index fa842f1c9fa2..65e79b471d49 100644 --- a/fs/xfs/linux-2.6/xfs_lrw.c +++ b/fs/xfs/linux-2.6/xfs_lrw.c | |||
@@ -805,7 +805,7 @@ start: | |||
805 | !capable(CAP_FSETID)) { | 805 | !capable(CAP_FSETID)) { |
806 | error = xfs_write_clear_setuid(xip); | 806 | error = xfs_write_clear_setuid(xip); |
807 | if (likely(!error)) | 807 | if (likely(!error)) |
808 | error = -remove_suid(file->f_dentry); | 808 | error = -remove_suid(file->f_path.dentry); |
809 | if (unlikely(error)) { | 809 | if (unlikely(error)) { |
810 | xfs_iunlock(xip, iolock); | 810 | xfs_iunlock(xip, iolock); |
811 | goto out_unlock_mutex; | 811 | goto out_unlock_mutex; |