mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull VFS changes from Al Viro:
"First pile out of several (there _definitely_ will be more). Stuff in
this one:
- unification of d_splice_alias()/d_materialize_unique()
- iov_iter rewrite
- killing a bunch of ->f_path.dentry users (and f_dentry macro).
Getting that completed will make life much simpler for
unionmount/overlayfs, since then we'll be able to limit the places
sensitive to file _dentry_ to reasonably few. Which allows to have
file_inode(file) pointing to inode in a covered layer, with dentry
pointing to (negative) dentry in union one.
Still not complete, but much closer now.
- crapectomy in lustre (dead code removal, mostly)
- "let's make seq_printf return nothing" preparations
- assorted cleanups and fixes
There _definitely_ will be more piles"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (63 commits)
copy_from_iter_nocache()
new helper: iov_iter_kvec()
csum_and_copy_..._iter()
iov_iter.c: handle ITER_KVEC directly
iov_iter.c: convert copy_to_iter() to iterate_and_advance
iov_iter.c: convert copy_from_iter() to iterate_and_advance
iov_iter.c: get rid of bvec_copy_page_{to,from}_iter()
iov_iter.c: convert iov_iter_zero() to iterate_and_advance
iov_iter.c: convert iov_iter_get_pages_alloc() to iterate_all_kinds
iov_iter.c: convert iov_iter_get_pages() to iterate_all_kinds
iov_iter.c: convert iov_iter_npages() to iterate_all_kinds
iov_iter.c: iterate_and_advance
iov_iter.c: macros for iterating over iov_iter
kill f_dentry macro
dcache: fix kmemcheck warning in switch_names
new helper: audit_file()
nfsd_vfs_write(): use file_inode()
ncpfs: use file_inode()
kill f_dentry uses
lockd: get rid of ->f_path.dentry->d_sb
...
This commit is contained in:
commit
cbfe0de303
157 changed files with 1666 additions and 2166 deletions
|
|
@ -84,7 +84,7 @@ static int jfs_create(struct inode *dip, struct dentry *dentry, umode_t mode,
|
|||
struct inode *iplist[2];
|
||||
struct tblock *tblk;
|
||||
|
||||
jfs_info("jfs_create: dip:0x%p name:%s", dip, dentry->d_name.name);
|
||||
jfs_info("jfs_create: dip:0x%p name:%pd", dip, dentry);
|
||||
|
||||
dquot_initialize(dip);
|
||||
|
||||
|
|
@ -216,7 +216,7 @@ static int jfs_mkdir(struct inode *dip, struct dentry *dentry, umode_t mode)
|
|||
struct inode *iplist[2];
|
||||
struct tblock *tblk;
|
||||
|
||||
jfs_info("jfs_mkdir: dip:0x%p name:%s", dip, dentry->d_name.name);
|
||||
jfs_info("jfs_mkdir: dip:0x%p name:%pd", dip, dentry);
|
||||
|
||||
dquot_initialize(dip);
|
||||
|
||||
|
|
@ -352,7 +352,7 @@ static int jfs_rmdir(struct inode *dip, struct dentry *dentry)
|
|||
struct inode *iplist[2];
|
||||
struct tblock *tblk;
|
||||
|
||||
jfs_info("jfs_rmdir: dip:0x%p name:%s", dip, dentry->d_name.name);
|
||||
jfs_info("jfs_rmdir: dip:0x%p name:%pd", dip, dentry);
|
||||
|
||||
/* Init inode for quota operations. */
|
||||
dquot_initialize(dip);
|
||||
|
|
@ -480,7 +480,7 @@ static int jfs_unlink(struct inode *dip, struct dentry *dentry)
|
|||
s64 new_size = 0;
|
||||
int commit_flag;
|
||||
|
||||
jfs_info("jfs_unlink: dip:0x%p name:%s", dip, dentry->d_name.name);
|
||||
jfs_info("jfs_unlink: dip:0x%p name:%pd", dip, dentry);
|
||||
|
||||
/* Init inode for quota operations. */
|
||||
dquot_initialize(dip);
|
||||
|
|
@ -797,8 +797,7 @@ static int jfs_link(struct dentry *old_dentry,
|
|||
struct btstack btstack;
|
||||
struct inode *iplist[2];
|
||||
|
||||
jfs_info("jfs_link: %s %s", old_dentry->d_name.name,
|
||||
dentry->d_name.name);
|
||||
jfs_info("jfs_link: %pd %pd", old_dentry, dentry);
|
||||
|
||||
dquot_initialize(dir);
|
||||
|
||||
|
|
@ -1082,8 +1081,7 @@ static int jfs_rename(struct inode *old_dir, struct dentry *old_dentry,
|
|||
int commit_flag;
|
||||
|
||||
|
||||
jfs_info("jfs_rename: %s %s", old_dentry->d_name.name,
|
||||
new_dentry->d_name.name);
|
||||
jfs_info("jfs_rename: %pd %pd", old_dentry, new_dentry);
|
||||
|
||||
dquot_initialize(old_dir);
|
||||
dquot_initialize(new_dir);
|
||||
|
|
@ -1355,7 +1353,7 @@ static int jfs_mknod(struct inode *dir, struct dentry *dentry,
|
|||
if (!new_valid_dev(rdev))
|
||||
return -EINVAL;
|
||||
|
||||
jfs_info("jfs_mknod: %s", dentry->d_name.name);
|
||||
jfs_info("jfs_mknod: %pd", dentry);
|
||||
|
||||
dquot_initialize(dir);
|
||||
|
||||
|
|
@ -1444,7 +1442,7 @@ static struct dentry *jfs_lookup(struct inode *dip, struct dentry *dentry, unsig
|
|||
struct component_name key;
|
||||
int rc;
|
||||
|
||||
jfs_info("jfs_lookup: name = %s", dentry->d_name.name);
|
||||
jfs_info("jfs_lookup: name = %pd", dentry);
|
||||
|
||||
if ((rc = get_UCSname(&key, dentry)))
|
||||
return ERR_PTR(rc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue