NFSv4: Handle more errors when recovering open file and locking state
[linux-2.6] / fs / ioctl.c
index 286f38d..001f8d3 100644 (file)
@@ -70,9 +70,7 @@ static int ioctl_fibmap(struct file *filp, int __user *p)
        res = get_user(block, p);
        if (res)
                return res;
-       lock_kernel();
        res = mapping->a_ops->bmap(mapping, block);
-       unlock_kernel();
        return put_user(res, p);
 }