patch-2.4.10 linux/fs/affs/amigaffs.c
Next file: linux/fs/affs/dir.c
Previous file: linux/fs/affs/Changes
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Sep 11 08:19:35 2001
- Orig file:
v2.4.9/linux/fs/affs/amigaffs.c
- Orig date:
Wed Jul 25 17:10:24 2001
diff -u --recursive --new-file v2.4.9/linux/fs/affs/amigaffs.c linux/fs/affs/amigaffs.c
@@ -311,7 +311,7 @@
goto done_unlock;
mark_buffer_dirty_inode(bh, inode);
- affs_lock_dir(dir);
+ affs_unlock_dir(dir);
if (inode->i_nlink > 1)
retval = affs_remove_link(dentry);
@@ -507,7 +507,7 @@
int
affs_copy_name(unsigned char *bstr, struct dentry *dentry)
{
- int len = MIN(dentry->d_name.len, 30);
+ int len = min(dentry->d_name.len, 30u);
*bstr++ = len;
memcpy(bstr, dentry->d_name.name, len);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)