- remove-needless-check-in-nfs_opendir.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     remove needless check in nfs_opendir()

has been removed from the -mm tree.  Its filename is

     remove-needless-check-in-nfs_opendir.patch

This patch was probably dropped from -mm because
it has now been merged into a subsystem tree or
into Linus's tree, or because it was folded into
its parent patch in the -mm tree.


From: Carsten Otte <cotte@xxxxxxxxxx>

Local variable res was initialized to 0 - no check needed here.

Signed-off-by: Carsten Otte <cotte@xxxxxxxxxx>
Cc: Trond Myklebust <trond.myklebust@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 fs/nfs/dir.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff -puN fs/nfs/dir.c~remove-needless-check-in-nfs_opendir fs/nfs/dir.c
--- devel/fs/nfs/dir.c~remove-needless-check-in-nfs_opendir	2006-04-11 11:22:41.000000000 -0700
+++ devel-akpm/fs/nfs/dir.c	2006-04-11 11:22:52.000000000 -0700
@@ -128,15 +128,14 @@ struct inode_operations nfs4_dir_inode_o
 static int
 nfs_opendir(struct inode *inode, struct file *filp)
 {
-	int res = 0;
+	int res;
 
 	dfprintk(VFS, "NFS: opendir(%s/%ld)\n",
 			inode->i_sb->s_id, inode->i_ino);
 
 	lock_kernel();
 	/* Call generic open code in order to cache credentials */
-	if (!res)
-		res = nfs_open(inode, filp);
+	res = nfs_open(inode, filp);
 	unlock_kernel();
 	return res;
 }
_

Patches currently in -mm which might be from cotte@xxxxxxxxxx are

origin.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux