]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/cifs/ioctl.c
igb: cleanup igb_netpoll to be more friendly with napi & GRO
[linux-2.6-omap-h63xx.git] / fs / cifs / ioctl.c
index 0088a5b5256460cd73737ef12db8e718a0c6902f..f94650683a00355d48f6fa545e72baaf6721e95e 100644 (file)
@@ -65,7 +65,7 @@ long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg)
        switch (command) {
                case CIFS_IOC_CHECKUMOUNT:
                        cFYI(1, ("User unmount attempted"));
-                       if (cifs_sb->mnt_uid == current->uid)
+                       if (cifs_sb->mnt_uid == current_uid())
                                rc = 0;
                        else {
                                rc = -EACCES;