commit | 1fc98d11cac6dd66342e5580cb2687e5b1e9a613 | [log] [tgz] |
---|---|---|
author | Andrey Vagin <avagin@openvz.org> | Tue Sep 09 14:51:04 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Sep 10 15:42:12 2014 -0700 |
tree | 6817fdfcb45abf1ff19ee0a57578976acbdabd14 | |
parent | acbbe6fbb240a927ee1f5994f04d31267d422215 [diff] |
fsnotify/fdinfo: use named constants instead of hardcoded values MAX_HANDLE_SZ is equal to 128, but currently the size of pad is only 64 bytes, so exportfs_encode_inode_fh can return an error. Signed-off-by: Andrey Vagin <avagin@openvz.org> Acked-by: Cyrill Gorcunov <gorcunov@openvz.org> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>