hostfs_kern.c (18bb1db3e7607e4a997d50991a6f9fa5b0f8722c) hostfs_kern.c (4acdaf27ebe2034c342f3be57ef49aed1ad885ef)
1/*
2 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3 * Licensed under the GPL
4 *
5 * Ported the filesystem routines to 2.5.
6 * 2003-02-10 Petr Baudis <pasky@ucw.cz>
7 */
8

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

546 ino->i_atime = st.atime;
547 ino->i_mtime = st.mtime;
548 ino->i_ctime = st.ctime;
549 ino->i_size = st.size;
550 ino->i_blocks = st.blocks;
551 return 0;
552}
553
1/*
2 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3 * Licensed under the GPL
4 *
5 * Ported the filesystem routines to 2.5.
6 * 2003-02-10 Petr Baudis <pasky@ucw.cz>
7 */
8

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

546 ino->i_atime = st.atime;
547 ino->i_mtime = st.mtime;
548 ino->i_ctime = st.ctime;
549 ino->i_size = st.size;
550 ino->i_blocks = st.blocks;
551 return 0;
552}
553
554int hostfs_create(struct inode *dir, struct dentry *dentry, int mode,
554int hostfs_create(struct inode *dir, struct dentry *dentry, umode_t mode,
555 struct nameidata *nd)
556{
557 struct inode *inode;
558 char *name;
559 int error, fd;
560
561 inode = hostfs_iget(dir->i_sb);
562 if (IS_ERR(inode)) {

--- 452 unchanged lines hidden ---
555 struct nameidata *nd)
556{
557 struct inode *inode;
558 char *name;
559 int error, fd;
560
561 inode = hostfs_iget(dir->i_sb);
562 if (IS_ERR(inode)) {

--- 452 unchanged lines hidden ---