patch-2.2.0-pre8 linux/fs/ufs/namei.c

Next file: linux/fs/ufs/super.c
Previous file: linux/fs/ufs/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre7/linux/fs/ufs/namei.c linux/fs/ufs/namei.c
@@ -58,8 +58,7 @@
 /*
  * NOTE! unlike strncmp, ufs_match returns 1 for success, 0 for failure.
  *
- * len <= UFS_MAXNAMLEN' is guaranteed by caller.
- * de != NULL' is guaranteed by caller.
+ * len <= UFS_MAXNAMLEN and de != NULL are guaranteed by caller.
  */
 static inline int ufs_match (int len, const char * const name,
 	struct ufs_dir_entry * de, unsigned flags, unsigned swab)
@@ -144,7 +143,7 @@
 		dlimit = bh->b_data + sb->s_blocksize;
 		while ((char *) de < dlimit && offset < dir->i_size) {
 			/* this code is executed quadratically often */
-			/* do minimal checking by hand' */
+			/* do minimal checking by hand */
 			int de_len;
 
 			if ((char *) de + namelen <= dlimit &&

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov