aboutsummaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/file.c
diff options
context:
space:
mode:
authorJosef Sipek <jsipek@fsl.cs.sunysb.edu>2006-12-08 05:37:33 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 11:28:49 -0500
commit1fc5adbd1916793c19d25347f484806c124d9be7 (patch)
tree81be6f222656f43c970013acf805da8d74882ca6 /fs/reiserfs/file.c
parenta57c4d65f70cb43c8503bc213c8be638011c22e7 (diff)
[PATCH] struct path: convert reiserfs
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/reiserfs/file.c')
-rw-r--r--fs/reiserfs/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/reiserfs/file.c b/fs/reiserfs/file.c
index 373d862c3f87..99b6f329ba23 100644
--- a/fs/reiserfs/file.c
+++ b/fs/reiserfs/file.c
@@ -1288,7 +1288,7 @@ static ssize_t reiserfs_file_write(struct file *file, /* the file we are going t
1288 loff_t pos; // Current position in the file. 1288 loff_t pos; // Current position in the file.
1289 ssize_t res; // return value of various functions that we call. 1289 ssize_t res; // return value of various functions that we call.
1290 int err = 0; 1290 int err = 0;
1291 struct inode *inode = file->f_dentry->d_inode; // Inode of the file that we are writing to. 1291 struct inode *inode = file->f_path.dentry->d_inode; // Inode of the file that we are writing to.
1292 /* To simplify coding at this time, we store 1292 /* To simplify coding at this time, we store
1293 locked pages in array for now */ 1293 locked pages in array for now */
1294 struct page *prepared_pages[REISERFS_WRITE_PAGES_AT_A_TIME]; 1294 struct page *prepared_pages[REISERFS_WRITE_PAGES_AT_A_TIME];
@@ -1335,7 +1335,7 @@ static ssize_t reiserfs_file_write(struct file *file, /* the file we are going t
1335 if (count == 0) 1335 if (count == 0)
1336 goto out; 1336 goto out;
1337 1337
1338 res = remove_suid(file->f_dentry); 1338 res = remove_suid(file->f_path.dentry);
1339 if (res) 1339 if (res)
1340 goto out; 1340 goto out;
1341 1341