GFS2: Fix return value in slot_get()
authorAbhi Das <adas@redhat.com>
Mon, 31 Mar 2014 06:19:29 +0000 (01:19 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 31 Mar 2014 09:43:05 +0000 (10:43 +0100)
commite9fb7c73a43e0551e689b7024f1581af5fa36a03
tree44b60e09b1bcc0397daef50e9de30c9a03b29aac
parent733dbc1b21dcfac83b292865a707d6a0d0fc16eb
GFS2: Fix return value in slot_get()

ENOSPC was being returned in slot_get inspite of successful
execution of the function. This patch fixes this return
code.

Signed-off-by: Abhi Das <adas@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/quota.c