[PATCH] eCryptfs: Use fsstack's generic copy inode attr functions
Replace eCryptfs specific code & calls with the more generic fsstack equivalents and remove the eCryptfs specific functions. Signed-off-by: Josef "Jeff" Sipek <jsipek@cs.sunysb.edu> Cc: Michael Halcrow <mhalcrow@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
42cf11939b
commit
0cc72dc7f0
@@ -30,6 +30,7 @@
|
||||
#include <linux/security.h>
|
||||
#include <linux/smp_lock.h>
|
||||
#include <linux/compat.h>
|
||||
#include <linux/fs_stack.h>
|
||||
#include "ecryptfs_kernel.h"
|
||||
|
||||
/**
|
||||
@@ -192,7 +193,7 @@ retry:
|
||||
goto retry;
|
||||
file->f_pos = lower_file->f_pos;
|
||||
if (rc >= 0)
|
||||
ecryptfs_copy_attr_atime(inode, lower_file->f_dentry->d_inode);
|
||||
fsstack_copy_attr_atime(inode, lower_file->f_dentry->d_inode);
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user