fs.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) fs.c (aa38572954ade525817fe88c54faebf85e5a61c0)
1/*
2 * JFFS2 -- Journalling Flash File System, Version 2.
3 *
4 * Copyright © 2001-2007 Red Hat, Inc.
5 * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
6 *
7 * Created by David Woodhouse <dwmw2@infradead.org>
8 *

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

352 ret = -EIO;
353error:
354 mutex_unlock(&f->sem);
355 jffs2_do_clear_inode(c, f);
356 iget_failed(inode);
357 return ERR_PTR(ret);
358}
359
1/*
2 * JFFS2 -- Journalling Flash File System, Version 2.
3 *
4 * Copyright © 2001-2007 Red Hat, Inc.
5 * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
6 *
7 * Created by David Woodhouse <dwmw2@infradead.org>
8 *

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

352 ret = -EIO;
353error:
354 mutex_unlock(&f->sem);
355 jffs2_do_clear_inode(c, f);
356 iget_failed(inode);
357 return ERR_PTR(ret);
358}
359
360void jffs2_dirty_inode(struct inode *inode)
360void jffs2_dirty_inode(struct inode *inode, int flags)
361{
362 struct iattr iattr;
363
364 if (!(inode->i_state & I_DIRTY_DATASYNC)) {
365 D2(printk(KERN_DEBUG "jffs2_dirty_inode() not calling setattr() for ino #%lu\n", inode->i_ino));
366 return;
367 }
368

--- 378 unchanged lines hidden ---
361{
362 struct iattr iattr;
363
364 if (!(inode->i_state & I_DIRTY_DATASYNC)) {
365 D2(printk(KERN_DEBUG "jffs2_dirty_inode() not calling setattr() for ino #%lu\n", inode->i_ino));
366 return;
367 }
368

--- 378 unchanged lines hidden ---