ibmasmfs.c (0898782247ae533d1f4e47a06bc5d4870931b284) | ibmasmfs.c (41441cecd10f565d18668216dc46b634bcc2cada) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * IBM ASM Service Processor Device Driver 4 * 5 * Copyright (C) IBM Corporation, 2004 6 * 7 * Author: Max Asböck <amax@us.ibm.com> 8 */ --- 125 unchanged lines hidden (view full) --- 134 135static struct inode *ibmasmfs_make_inode(struct super_block *sb, int mode) 136{ 137 struct inode *ret = new_inode(sb); 138 139 if (ret) { 140 ret->i_ino = get_next_ino(); 141 ret->i_mode = mode; | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * IBM ASM Service Processor Device Driver 4 * 5 * Copyright (C) IBM Corporation, 2004 6 * 7 * Author: Max Asböck <amax@us.ibm.com> 8 */ --- 125 unchanged lines hidden (view full) --- 134 135static struct inode *ibmasmfs_make_inode(struct super_block *sb, int mode) 136{ 137 struct inode *ret = new_inode(sb); 138 139 if (ret) { 140 ret->i_ino = get_next_ino(); 141 ret->i_mode = mode; |
142 ret->i_atime = ret->i_mtime = ret->i_ctime = current_time(ret); | 142 ret->i_atime = ret->i_mtime = inode_set_ctime_current(ret); |
143 } 144 return ret; 145} 146 147static struct dentry *ibmasmfs_create_file(struct dentry *parent, 148 const char *name, 149 const struct file_operations *fops, 150 void *data, --- 453 unchanged lines hidden --- | 143 } 144 return ret; 145} 146 147static struct dentry *ibmasmfs_create_file(struct dentry *parent, 148 const char *name, 149 const struct file_operations *fops, 150 void *data, --- 453 unchanged lines hidden --- |