Erik was hitting this error when he tried to mount an lvm snapshot
without -o ro, and we mishandled the EACCES return from LVM.
pagebuf_lock_enable returns a pointer, and we weren't using ERR_PTR
and friends to correctly propagate errors up to callers.
Date: Thu Aug 15 11:47:01 PDT 2002
Workarea:
stout.americas.sgi.com:/localhome/src/sandeen/2.4.x-xfs/workarea-alwaysclean
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:125185a
linux/fs/xfs/xfs_vfsops.c - 1.370
- Handle ERR_PTR returns from pagebuf_lock_enable
linux/fs/xfs/pagebuf/page_buf_locking.c - 1.25
- Return an ERR_PTR if pagebuf_lock_enable encounters an error.
|