+ v9fs-fix-fid-check-in-v9fs_create.patch added to -mm tree

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

 



The patch titled

     v9fs: fix fid check in v9fs_create

has been added to the -mm tree.  Its filename is

     v9fs-fix-fid-check-in-v9fs_create.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: v9fs: fix fid check in v9fs_create
From: Latchesar Ionkov <lucho@xxxxxxxxxx>


Fix an incorrect check whether a fid was allocated in v9fs_create and if it
should be freed on error.

Signed-off-by: Latchesar Ionkov <lucho@xxxxxxxxxx>
Cc: Eric Van Hensbergen <ericvh@xxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 fs/9p/vfs_inode.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/9p/vfs_inode.c~v9fs-fix-fid-check-in-v9fs_create fs/9p/vfs_inode.c
--- 25/fs/9p/vfs_inode.c~v9fs-fix-fid-check-in-v9fs_create	Tue Jun 27 15:40:10 2006
+++ 25-akpm/fs/9p/vfs_inode.c	Tue Jun 27 15:40:10 2006
@@ -300,7 +300,7 @@ clunk_fid:
 	fid = V9FS_NOFID;
 
 put_fid:
-	if (fid >= 0)
+	if (fid != V9FS_NOFID)
 		v9fs_put_idpool(fid, &v9ses->fidpool);
 
 	kfree(fcall);
_

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

origin.patch
v9fs-return-the-correct-error-when-interrupted-by-signal.patch
v9fs-fix-fid-check-in-v9fs_create.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