aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ncpfs/ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ncpfs/ioctl.c')
-rw-r--r--fs/ncpfs/ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ncpfs/ioctl.c b/fs/ncpfs/ioctl.c
index 6958adfaff08..5c1e9262219c 100644
--- a/fs/ncpfs/ioctl.c
+++ b/fs/ncpfs/ioctl.c
@@ -808,7 +808,7 @@ outrel:
808 808
809long ncp_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) 809long ncp_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
810{ 810{
811 struct inode *inode = filp->f_dentry->d_inode; 811 struct inode *inode = file_inode(filp);
812 struct ncp_server *server = NCP_SERVER(inode); 812 struct ncp_server *server = NCP_SERVER(inode);
813 uid_t uid = current_uid(); 813 uid_t uid = current_uid();
814 int need_drop_write = 0; 814 int need_drop_write = 0;