On Wed, 26 Nov 2008, David P. Quigley wrote: > + err = 0; > + (void)security_inode_getsecctx(dentry->d_inode, &context, &len); > + if (len < 0) > + return nfserrno(len); So, with the simpler version: err = security_inode_getsecctx(dentry->d_inode, &context, &len); if (err) return nfserrno(err); -- James Morris <jmorris@xxxxxxxxx> -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.