X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fjffs2%2Fsecurity.c;h=02c39c64ecb391e734d18362aa074b5ea2a401db;hb=4b7227ca321ccf447cdc04538687c895db8b77f5;hp=52a9894a6364590e004b8839c6a89c9126de6b0e;hpb=dbe1ab9514c231c9b062140a107d9dea0eabefcc;p=linux-2.6 diff --git a/fs/jffs2/security.c b/fs/jffs2/security.c index 52a9894a63..02c39c64ec 100644 --- a/fs/jffs2/security.c +++ b/fs/jffs2/security.c @@ -1,13 +1,14 @@ /* * JFFS2 -- Journalling Flash File System, Version 2. * - * Copyright (C) 2006 NEC Corporation + * Copyright © 2006 NEC Corporation * * Created by KaiGai Kohei * * For licensing information, see the file 'LICENCE' in this directory. * */ + #include #include #include @@ -37,9 +38,9 @@ int jffs2_init_security(struct inode *inode, struct inode *dir) } rc = do_jffs2_setxattr(inode, JFFS2_XPREFIX_SECURITY, name, value, len, 0); - kfree(name); - kfree(value); - return rc; + kfree(name); + kfree(value); + return rc; } /* ---- XATTR Handler for "security.*" ----------------- */