eCryptfs: Replace miscdev read/write magic numbers
authorTyler Hicks <tyhicks@canonical.com>
Sat, 14 Jan 2012 15:46:46 +0000 (16:46 +0100)
committerTyler Hicks <tyhicks@canonical.com>
Wed, 25 Jan 2012 20:43:40 +0000 (14:43 -0600)
ecryptfs_miscdev_read() and ecryptfs_miscdev_write() contained many
magic numbers for specifying packet header field sizes and offsets. This
patch defines those values and replaces the magic values.

Signed-off-by: Tyler Hicks <tyhicks@canonical.com>

No differences found