~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to fs/ext3/xattr_security.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
}
50
50
 
51
51
int
52
 
ext3_init_security(handle_t *handle, struct inode *inode, struct inode *dir)
 
52
ext3_init_security(handle_t *handle, struct inode *inode, struct inode *dir,
 
53
                   const struct qstr *qstr)
53
54
{
54
55
        int err;
55
56
        size_t len;
56
57
        void *value;
57
58
        char *name;
58
59
 
59
 
        err = security_inode_init_security(inode, dir, &name, &value, &len);
 
60
        err = security_inode_init_security(inode, dir, qstr, &name, &value, &len);
60
61
        if (err) {
61
62
                if (err == -EOPNOTSUPP)
62
63
                        return 0;