- cifs-cifssmbposixlock-should-return-einval-on-error.patch removed from -mm tree

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

 



The patch titled
     cifs: CIFSSMBPosixLock should return -EINVAL on error
has been removed from the -mm tree.  Its filename was
     cifs-cifssmbposixlock-should-return-einval-on-error.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: cifs: CIFSSMBPosixLock should return -EINVAL on error
From: Marcin Slusarz <marcin.slusarz@xxxxxxxxx>

All other codepaths in this function return negative values on errors.

Signed-off-by: Marcin Slusarz <marcin.slusarz@xxxxxxxxx>
Cc: Steve French <sfrench@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/cifs/cifssmb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/cifs/cifssmb.c~cifs-cifssmbposixlock-should-return-einval-on-error fs/cifs/cifssmb.c
--- a/fs/cifs/cifssmb.c~cifs-cifssmbposixlock-should-return-einval-on-error
+++ a/fs/cifs/cifssmb.c
@@ -1767,7 +1767,7 @@ CIFSSMBPosixLock(const int xid, struct c
 	cFYI(1, ("Posix Lock"));
 
 	if (pLockData == NULL)
-		return EINVAL;
+		return -EINVAL;
 
 	rc = small_smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB);
 
_

Patches currently in -mm which might be from marcin.slusarz@xxxxxxxxx are

linux-next.patch
git-cifs.patch
drm-radeon-radeon_enable_vblank-should-return-negative-error.patch
isdn-capi-return-proper-errnos-on-module-init.patch
net-s2io-set_rxd_buffer_pointer-returns-enomem-not-enomem.patch
ntfs-le_add_cpu-conversion.patch
s390-char-vmlogrdr-module-initialization-function-should-return-negative-errors.patch
usb-usbtest-comment-on-why-this-code-expects-negative-and-positive-errnos.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