inode.c (ea77f7a2e8561012cf100c530170f12351c3b53e) inode.c (aa38572954ade525817fe88c54faebf85e5a61c0)
1/*
2 * Copyright (C) International Business Machines Corp., 2000-2004
3 * Portions Copyright (C) Christoph Hellwig, 2001-2002
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.

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

168 }
169 } else {
170 truncate_inode_pages(&inode->i_data, 0);
171 }
172 end_writeback(inode);
173 dquot_drop(inode);
174}
175
1/*
2 * Copyright (C) International Business Machines Corp., 2000-2004
3 * Portions Copyright (C) Christoph Hellwig, 2001-2002
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.

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

168 }
169 } else {
170 truncate_inode_pages(&inode->i_data, 0);
171 }
172 end_writeback(inode);
173 dquot_drop(inode);
174}
175
176void jfs_dirty_inode(struct inode *inode)
176void jfs_dirty_inode(struct inode *inode, int flags)
177{
178 static int noisy = 5;
179
180 if (isReadOnly(inode)) {
181 if (!special_file(inode->i_mode) && noisy) {
182 /* kernel allows writes to devices on read-only
183 * partitions and may try to mark inode dirty
184 */

--- 230 unchanged lines hidden ---
177{
178 static int noisy = 5;
179
180 if (isReadOnly(inode)) {
181 if (!special_file(inode->i_mode) && noisy) {
182 /* kernel allows writes to devices on read-only
183 * partitions and may try to mark inode dirty
184 */

--- 230 unchanged lines hidden ---