diff --git a/[refs] b/[refs] index 99ac19c943d8..ddccdac5c0c9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bb5b583b52794efc7b59f70a78be1b66a98dd939 +refs/heads/master: 78d2978874e4e10e97dfd4fd79db45bdc0748550 diff --git a/trunk/fs/file_table.c b/trunk/fs/file_table.c index c3e89adf53c0..eb36b6b17e26 100644 --- a/trunk/fs/file_table.c +++ b/trunk/fs/file_table.c @@ -125,13 +125,13 @@ struct file *get_empty_filp(void) goto fail; percpu_counter_inc(&nr_files); + f->f_cred = get_cred(cred); if (security_file_alloc(f)) goto fail_sec; INIT_LIST_HEAD(&f->f_u.fu_list); atomic_long_set(&f->f_count, 1); rwlock_init(&f->f_owner.lock); - f->f_cred = get_cred(cred); spin_lock_init(&f->f_lock); eventpoll_init_file(f); /* f->f_version: 0 */