]> err.no Git - linux-2.6/commit
[PATCH] reiserfs: Check if attrs are enabled for attr ioctls
authorJeff Mahoney <jeffm@suse.com>
Wed, 29 Jun 2005 22:52:28 +0000 (18:52 -0400)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 30 Jun 2005 04:02:04 +0000 (21:02 -0700)
commit869eb76e7b60ebd8f87a358b72e97fa0aef1d1f5
tree6c78a8f32c1e18286f9815f3077e454cca766bc0
parent0b35ff23b2633eb996d666e5a49a5d49b8a6a2d3
[PATCH] reiserfs: Check if attrs are enabled for attr ioctls

ReiserFS currently will allow the user to set/get attrs for files
regardless if they are enabled.  The patch checks to see if they are
enabled, and returns -NOTTY if they are not.

ext[23] doesn't need this check because attrs are always enabled.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/reiserfs/ioctl.c