]> err.no Git - linux-2.6/commit
[PATCH] nfsd: sign conversion obscuring errors in nfsd_set_posix_acl()
authorFlorin Malita <fmalita@gmail.com>
Sat, 20 May 2006 21:59:58 +0000 (14:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 21 May 2006 19:59:17 +0000 (12:59 -0700)
commit9ccfc29c671c9d0a83c2a114d4bc5f85f3cd749d
treea02d2712a788abb4c5891e9c469c99b770fa0dbb
parent2adc7d47c4dbf684e69ee3980c158ff684dc170e
[PATCH] nfsd: sign conversion obscuring errors in nfsd_set_posix_acl()

Assigning the result of posix_acl_to_xattr() to an unsigned data type
(size/size_t) obscures possible errors.

Coverity CID: 1206.

Signed-off-by: Florin Malita <fmalita@gmail.com>
Acked-by: NeilBrown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/vfs.c