9p: v9fs_fid_add() can't fail now

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2013-02-28 01:18:14 -05:00
parent aaeb7ecfb4
commit 2ea03e1d62
4 changed files with 11 additions and 22 deletions

View File

@@ -41,12 +41,11 @@
*
*/
int v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid)
void v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid)
{
spin_lock(&dentry->d_lock);
hlist_add_head(&fid->dlist, (struct hlist_head *)&dentry->d_fsdata);
spin_unlock(&dentry->d_lock);
return 0;
}
/**