projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VFS: normal filesystems (and lustre): d_inode() annotations
[deliverable/linux.git]
/
fs
/
ecryptfs
/
file.c
diff --git
a/fs/ecryptfs/file.c
b/fs/ecryptfs/file.c
index 79675089443df98c23de1602d3ca59a887cbb4d4..72afcc629d7b1fee2963fb90e1691a221eb77d8e 100644
(file)
--- a/
fs/ecryptfs/file.c
+++ b/
fs/ecryptfs/file.c
@@
-130,7
+130,7
@@
struct kmem_cache *ecryptfs_file_info_cache;
static int read_or_initialize_metadata(struct dentry *dentry)
{
static int read_or_initialize_metadata(struct dentry *dentry)
{
- struct inode *inode = d
entry->d_inode
;
+ struct inode *inode = d
_inode(dentry)
;
struct ecryptfs_mount_crypt_stat *mount_crypt_stat;
struct ecryptfs_crypt_stat *crypt_stat;
int rc;
struct ecryptfs_mount_crypt_stat *mount_crypt_stat;
struct ecryptfs_crypt_stat *crypt_stat;
int rc;
@@
-358,9
+358,7
@@
const struct file_operations ecryptfs_dir_fops = {
const struct file_operations ecryptfs_main_fops = {
.llseek = generic_file_llseek,
const struct file_operations ecryptfs_main_fops = {
.llseek = generic_file_llseek,
- .read = new_sync_read,
.read_iter = ecryptfs_read_update_atime,
.read_iter = ecryptfs_read_update_atime,
- .write = new_sync_write,
.write_iter = generic_file_write_iter,
.iterate = ecryptfs_readdir,
.unlocked_ioctl = ecryptfs_unlocked_ioctl,
.write_iter = generic_file_write_iter,
.iterate = ecryptfs_readdir,
.unlocked_ioctl = ecryptfs_unlocked_ioctl,
This page took
0.02503 seconds
and
5
git commands to generate.