Commit 1f2b984d authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] (1/6) alpha fixes

 - bogus return value type for ->open() and ->release() on nfsd
   (generic, caught on alpha since there ssize_t != int)
parent a5f484a3
......@@ -99,13 +99,13 @@ static ssize_t TA_read(struct file *file, char *buf, size_t size, loff_t *pos)
return size;
}
static ssize_t TA_open(struct inode *inode, struct file *file)
static int TA_open(struct inode *inode, struct file *file)
{
file->private_data = NULL;
return 0;
}
static ssize_t TA_release(struct inode *inode, struct file *file)
static int TA_release(struct inode *inode, struct file *file)
{
void *p = file->private_data;
file->private_data = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment