X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=fs%2Freiserfs%2Ffile.c;h=6165bd4784f6ab1f08cf3076759ebe4eebc9616a;hb=3cfb07743a5bffecba83f0da26444e85c0a9bfbb;hp=50302d6f889533b5e139d6083d43e475ca0155c5;hpb=cfac4b47c664e207740880d6492938761c53d74b;p=cascardo%2Flinux.git diff --git a/fs/reiserfs/file.c b/fs/reiserfs/file.c index 50302d6f8895..6165bd4784f6 100644 --- a/fs/reiserfs/file.c +++ b/fs/reiserfs/file.c @@ -268,7 +268,7 @@ static ssize_t reiserfs_file_write(struct file *file, /* the file we are going t * new current position before returning. */ ) { - struct inode *inode = file->f_path.dentry->d_inode; // Inode of the file that we are writing to. + struct inode *inode = file_inode(file); // Inode of the file that we are writing to. /* To simplify coding at this time, we store locked pages in array for now */ struct reiserfs_transaction_handle th;