[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <x49prx237j9.fsf@segfault.boston.devel.redhat.com>
Date: Wed, 19 Dec 2007 12:42:50 -0500
From: Jeff Moyer <jmoyer@...hat.com>
To: Eric Sandeen <sandeen@...hat.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...l.org>,
Michael Halcrow <mhalcrow@...ibm.com>, mike@...crow.us
Subject: Re: [PATCH] ecryptfs: redo dget,mntget on dentry_open failure
Eric Sandeen <sandeen@...hat.com> writes:
> Thanks to Jeff Moyer for pointing this out.
>
> If the RDWR dentry_open() in ecryptfs_init_persistent_file fails,
> it will do a dput/mntput. Need to re-take references if we
> retry as RDONLY.
>
> Signed-off-by: Eric Sandeen <sandeen@...hat.com>
Signed-off-by: Jeff Moyer <jmoyer@...hat.com>
Thanks,
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists