linux-next: manual merge of the ntfs3 tree with the vfs-idmapping tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Today's linux-next merge of the ntfs3 tree got conflicts in:

  fs/ntfs3/file.c

between commit:

  c1632a0f1120 ("fs: port ->setattr() to pass mnt_idmap")

from the vfs-idmapping tree and commit:

  d1468d48fe7a ("fs/ntfs3: Remove noacsrules")

from the ntfs3 tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc fs/ntfs3/file.c
index e9bdc1ff08c9,a10a905ec7ce..000000000000
--- a/fs/ntfs3/file.c
+++ b/fs/ntfs3/file.c
@@@ -657,26 -653,16 +653,16 @@@ out
  /*
   * ntfs3_setattr - inode_operations::setattr
   */
 -int ntfs3_setattr(struct user_namespace *mnt_userns, struct dentry *dentry,
 +int ntfs3_setattr(struct mnt_idmap *idmap, struct dentry *dentry,
  		  struct iattr *attr)
  {
- 	struct super_block *sb = dentry->d_sb;
- 	struct ntfs_sb_info *sbi = sb->s_fs_info;
  	struct inode *inode = d_inode(dentry);
  	struct ntfs_inode *ni = ntfs_i(inode);
  	u32 ia_valid = attr->ia_valid;
  	umode_t mode = inode->i_mode;
  	int err;
  
- 	if (sbi->options->noacsrules) {
- 		/* "No access rules" - Force any changes of time etc. */
- 		attr->ia_valid |= ATTR_FORCE;
- 		/* and disable for editing some attributes. */
- 		attr->ia_valid &= ~(ATTR_UID | ATTR_GID | ATTR_MODE);
- 		ia_valid = attr->ia_valid;
- 	}
- 
 -	err = setattr_prepare(mnt_userns, dentry, attr);
 +	err = setattr_prepare(idmap, dentry, attr);
  	if (err)
  		goto out;
  

Attachment: pgp5L6OQ9xeCb.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux