inode.c (a940daa52167e9db8ecce82213813b735a9d9f23) inode.c (200d942170a8e7b94d7cdc871f9a067917bc3f4a)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * linux/fs/proc/inode.c
4 *
5 * Copyright (C) 1991, 1992 Linus Torvalds
6 */
7
8#include <linux/cache.h>

--- 646 unchanged lines hidden (view full) ---

655
656 if (!inode) {
657 pde_put(de);
658 return NULL;
659 }
660
661 inode->i_private = de->data;
662 inode->i_ino = de->low_ino;
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * linux/fs/proc/inode.c
4 *
5 * Copyright (C) 1991, 1992 Linus Torvalds
6 */
7
8#include <linux/cache.h>

--- 646 unchanged lines hidden (view full) ---

655
656 if (!inode) {
657 pde_put(de);
658 return NULL;
659 }
660
661 inode->i_private = de->data;
662 inode->i_ino = de->low_ino;
663 inode->i_mtime = inode->i_atime = inode_set_ctime_current(inode);
663 simple_inode_init_ts(inode);
664 PROC_I(inode)->pde = de;
665 if (is_empty_pde(de)) {
666 make_empty_dir_inode(inode);
667 return inode;
668 }
669
670 if (de->mode) {
671 inode->i_mode = de->mode;

--- 33 unchanged lines hidden ---
664 PROC_I(inode)->pde = de;
665 if (is_empty_pde(de)) {
666 make_empty_dir_inode(inode);
667 return inode;
668 }
669
670 if (de->mode) {
671 inode->i_mode = de->mode;

--- 33 unchanged lines hidden ---