Christoph Hellwig
5f13ee9c1c
nfs: fix xattr inode op pointers when disabled
...
Chris Mason reported a NULL pointer derefernence in generic_getxattr()
that was due to sb->s_xattr being NULL.
The reason is that the nfs #ifdef's for ACL support were misplaced, and
the nfs3 inode operations had the xattr operation pointers set up, even
though xattrs were not actually supported. As a result, the xattr code
was being called without the infrastructure having been set up.
Move the #ifdef's appropriately.
Reported-and-tested-by: Chris Mason <clm@fb.com >
Acked-by: Al Viro viro@zeniv.linux.org.uk >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-01-30 09:37:49 -08:00
..
2013-12-04 12:57:37 -05:00
2013-06-28 15:34:45 -04:00
2013-02-15 10:43:36 -05:00
2013-02-15 10:43:36 -05:00
2013-09-03 15:26:30 -04:00
2013-06-28 16:29:51 -04:00
2013-10-28 18:16:55 -04:00
2013-06-08 16:20:18 -04:00
2013-10-28 15:37:43 -04:00
2013-08-22 08:58:24 -04:00
2013-04-05 17:03:57 -04:00
2014-01-05 15:51:23 -05:00
2014-01-13 17:29:50 -05:00
2013-11-19 16:20:40 -05:00
2012-01-31 18:20:26 -05:00
2014-01-05 15:51:23 -05:00
2011-10-18 09:14:34 -07:00
2013-09-27 18:40:25 +01:00
2013-09-27 18:40:25 +01:00
2013-06-08 16:20:15 -04:00
2013-09-01 11:12:42 -04:00
2014-01-28 08:46:44 -08:00
2013-11-19 16:20:40 -05:00
2010-05-14 15:09:31 -04:00
2013-11-15 13:41:43 -05:00
2013-09-03 15:26:33 -04:00
2013-06-28 15:51:51 -04:00
2013-10-24 23:34:50 -04:00
2012-10-02 08:17:02 -07:00
2012-07-30 19:06:41 -04:00
2013-02-13 06:15:30 -08:00
2014-01-26 08:26:20 -05:00
2012-07-30 19:05:54 -04:00
2014-01-30 09:37:49 -08:00
2014-01-26 08:26:20 -05:00
2013-02-13 06:15:31 -08:00
2013-11-19 16:20:40 -05:00
2014-01-20 16:08:06 -07:00
2013-11-13 15:34:18 +09:00
2014-01-21 14:12:18 -07:00
2013-06-06 16:24:37 -04:00
2014-01-05 15:38:21 -05:00
2013-09-07 16:18:30 -04:00
2013-11-13 15:34:18 +09:00
2014-01-22 18:10:49 -07:00
2012-08-13 16:27:37 -07:00
2013-09-04 12:26:30 -04:00
2013-09-04 12:26:30 -04:00
2014-01-05 15:51:35 -05:00
2014-01-13 13:34:36 -05:00
2012-10-02 08:17:03 -07:00
2013-08-22 08:58:27 -04:00
2013-08-22 08:58:27 -04:00
2013-12-06 13:06:30 -05:00
2012-07-30 19:06:52 -04:00
2012-03-20 13:08:26 -04:00
2013-08-22 08:58:18 -04:00
2013-08-22 08:58:20 -04:00
2013-09-06 11:27:41 -04:00
2013-02-27 19:10:24 -08:00
2014-01-13 13:34:36 -05:00
2014-01-13 12:08:11 -05:00
2013-10-24 23:34:50 -04:00
2014-01-05 15:51:23 -05:00
2013-11-15 13:41:43 -05:00
2010-03-30 22:02:32 +09:00
2012-07-17 13:33:18 -04:00
2013-11-13 15:34:18 +09:00
2014-01-17 15:37:15 -05:00