eCryptfs: Unlock page in write_begin error path
commit50f198ae16ac66508d4b8d5a40967a8507ad19ee
authorTyler Hicks <tyhicks@linux.vnet.ibm.com>
Wed, 9 Mar 2011 17:49:13 +0000 (9 11:49 -0600)
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>
Mon, 28 Mar 2011 06:47:46 +0000 (28 01:47 -0500)
treecfd582a98eca9b93177fe6e417b82e7c4e345f45
parent57db4e8d73ef2b5e94a3f412108dff2576670a8a
eCryptfs: Unlock page in write_begin error path

Unlock the page in error path of ecryptfs_write_begin(). This may
happen, for example, if decryption fails while bring the page
up-to-date.

Cc: <stable@kernel.org>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
fs/ecryptfs/mmap.c