int retval;
char *p;
+ if (off != &file->f_pos)
+ return -ESPIPE;
+
lock_kernel();
if (minor == ISDN_MINOR_STATUS) {
if (!file->private_data) {
int chidx;
int retval;
+ if (off != &file->f_pos)
+ return -ESPIPE;
+
if (minor == ISDN_MINOR_STATUS)
return -EPERM;
if (!dev->drivers)
}
#endif
out:
- nonseekable_open(ino, filep);
return retval;
}