inode.c (14da17f9c4a880e3418f7f04071df3cb2e8636e8) inode.c (a19189e5535ed8fd191d8989fc39da1637cfa224)
1/*
2 * linux/fs/hpfs/inode.c
3 *
4 * Mikulas Patocka (mikulas@artax.karlin.mff.cuni.cz), 1998-1999
5 *
6 * inode VFS functions
7 */
8

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

179
180void hpfs_write_inode(struct inode *i)
181{
182 struct hpfs_inode_info *hpfs_inode = hpfs_i(i);
183 struct inode *parent;
184 if (i->i_ino == hpfs_sb(i->i_sb)->sb_root) return;
185 if (hpfs_inode->i_rddir_off && !atomic_read(&i->i_count)) {
186 if (*hpfs_inode->i_rddir_off)
1/*
2 * linux/fs/hpfs/inode.c
3 *
4 * Mikulas Patocka (mikulas@artax.karlin.mff.cuni.cz), 1998-1999
5 *
6 * inode VFS functions
7 */
8

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

179
180void hpfs_write_inode(struct inode *i)
181{
182 struct hpfs_inode_info *hpfs_inode = hpfs_i(i);
183 struct inode *parent;
184 if (i->i_ino == hpfs_sb(i->i_sb)->sb_root) return;
185 if (hpfs_inode->i_rddir_off && !atomic_read(&i->i_count)) {
186 if (*hpfs_inode->i_rddir_off)
187 pr_warn("write_inode: some position still there\n");
187 pr_err("write_inode: some position still there\n");
188 kfree(hpfs_inode->i_rddir_off);
189 hpfs_inode->i_rddir_off = NULL;
190 }
191 if (!i->i_nlink) {
192 return;
193 }
194 parent = iget_locked(i->i_sb, hpfs_inode->i_parent_dir);
195 if (parent) {

--- 120 unchanged lines hidden ---
188 kfree(hpfs_inode->i_rddir_off);
189 hpfs_inode->i_rddir_off = NULL;
190 }
191 if (!i->i_nlink) {
192 return;
193 }
194 parent = iget_locked(i->i_sb, hpfs_inode->i_parent_dir);
195 if (parent) {

--- 120 unchanged lines hidden ---