aboutsummaryrefslogtreecommitdiffstats
path: root/fs/adfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/adfs/inode.c')
-rw-r--r--fs/adfs/inode.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/fs/adfs/inode.c b/fs/adfs/inode.c
index e647200262a2..798cb071d132 100644
--- a/fs/adfs/inode.c
+++ b/fs/adfs/inode.c
@@ -7,17 +7,8 @@
7 * it under the terms of the GNU General Public License version 2 as 7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation. 8 * published by the Free Software Foundation.
9 */ 9 */
10#include <linux/errno.h>
11#include <linux/fs.h>
12#include <linux/adfs_fs.h>
13#include <linux/time.h>
14#include <linux/stat.h>
15#include <linux/string.h>
16#include <linux/mm.h>
17#include <linux/smp_lock.h> 10#include <linux/smp_lock.h>
18#include <linux/module.h>
19#include <linux/buffer_head.h> 11#include <linux/buffer_head.h>
20
21#include "adfs.h" 12#include "adfs.h"
22 13
23/* 14/*
@@ -376,7 +367,7 @@ out:
376 * The adfs-specific inode data has already been updated by 367 * The adfs-specific inode data has already been updated by
377 * adfs_notify_change() 368 * adfs_notify_change()
378 */ 369 */
379int adfs_write_inode(struct inode *inode, int unused) 370int adfs_write_inode(struct inode *inode, int wait)
380{ 371{
381 struct super_block *sb = inode->i_sb; 372 struct super_block *sb = inode->i_sb;
382 struct object_info obj; 373 struct object_info obj;
@@ -391,8 +382,7 @@ int adfs_write_inode(struct inode *inode, int unused)
391 obj.attr = ADFS_I(inode)->attr; 382 obj.attr = ADFS_I(inode)->attr;
392 obj.size = inode->i_size; 383 obj.size = inode->i_size;
393 384
394 ret = adfs_dir_update(sb, &obj); 385 ret = adfs_dir_update(sb, &obj, wait);
395 unlock_kernel(); 386 unlock_kernel();
396 return ret; 387 return ret;
397} 388}
398MODULE_LICENSE("GPL");