Import ncpfs 0.24

This commit is contained in:
ncpfs archive import
2026-04-28 20:39:58 +02:00
parent 84cb1f167d
commit 7d0e3d011b
10 changed files with 50 additions and 16 deletions

View File

@@ -132,7 +132,9 @@ static void
ncp_put_inode(struct inode *inode)
{
struct nw_file_info *finfo = NCP_FINFO(inode);
struct super_block *sb = inode->i_sb;
lock_super(sb);
if (finfo->opened != 0)
{
if (ncp_close_file(NCP_SERVER(inode), finfo->file_handle)!=0)
@@ -155,6 +157,7 @@ ncp_put_inode(struct inode *inode)
}
clear_inode(inode);
unlock_super(sb);
}
struct super_block *