Correction.PATCH: 2.4.0-test11-pre6 NTFS: new_inode namespace clash fix

From: Anton Altaparmakov (aia21@cus.cam.ac.uk)
Date: Fri Nov 17 2000 - 05:39:53 EST


Attached is a corrected version of the previous patch. Goes to show I
should check even obvious looking patches before posting...

Apologies,

Anton

-- 

Anton Altaparmakov Phone: +44-(0)1223-333541 (lab) Christ's College eMail: AntonA@bigfoot.com Cambridge CB2 3BU WWW: http://www-stu.christs.cam.ac.uk/~aia21/ United Kingdom ICQ: 8561279

diff -ur linux-2.4.0-test11-pre6/fs/ntfs/inode.c linux/fs/ntfs/inode.c --- linux-2.4.0-test11-pre6/fs/ntfs/inode.c Wed Jun 21 18:10:02 2000 +++ linux/fs/ntfs/inode.c Fri Nov 17 11:08:32 2000 @@ -1050,7 +1050,7 @@ /* We have to skip the 16 metafiles and the 8 reserved entries */ static int -new_inode (ntfs_volume* vol,int* result) +ntfs_new_inode (ntfs_volume* vol,int* result) { int byte,error; int bit; @@ -1236,11 +1236,11 @@ ntfs_volume* vol=dir->vol; int byte,bit; - error=new_inode (vol,&(result->i_number)); + error=ntfs_new_inode (vol,&(result->i_number)); if(error==ENOSPC){ error=ntfs_extend_mft(vol); if(error)return error; - error=new_inode(vol,&(result->i_number)); + error=ntfs_new_inode(vol,&(result->i_number)); } if(error){ ntfs_error ("ntfs_get_empty_inode: no free inodes\n"); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:12 EST