Al Viro 3767e255b3 switch ->setxattr() to passing dentry and inode separately
smack ->d_instantiate() uses ->setxattr(), so to be able to call it before
we'd hashed the new dentry and attached it to inode, we need ->setxattr()
instances getting the inode as an explicit argument rather than obtaining
it from dentry.

Similar change for ->getxattr() had been done in commit ce23e64.  Unlike
->getxattr() (which is used by both selinux and smack instances of
->d_instantiate()) ->setxattr() is used only by smack one and unfortunately
it got missed back then.

Reported-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Tested-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2016-05-27 20:09:16 -04:00
..
2014-01-24 10:55:21 -06:00
2015-09-08 15:35:28 -07:00
2016-05-26 00:04:18 -04:00
2015-07-23 20:59:40 +02:00
2015-07-23 20:59:40 +02:00
2015-02-16 17:56:04 -08:00
2015-10-29 12:57:48 -05:00
2012-05-10 11:45:31 +01:00
2011-11-04 12:01:48 -07:00
2011-09-27 18:08:04 +02:00
2015-10-13 22:17:57 -07:00
2016-02-26 14:39:08 -05:00
2015-05-18 11:23:07 +02:00
2013-07-25 12:34:15 +02:00
2014-12-29 15:40:18 -07:00
2016-03-09 15:33:06 -07:00
2015-06-01 07:15:38 +10:00