[PATCH] 2.5.4-pre1: further llseek cleanup (2/3)
authorRobert Love <rml@tech9.net>
Wed, 6 Feb 2002 02:46:42 +0000 (18:46 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Wed, 6 Feb 2002 02:46:42 +0000 (18:46 -0800)
commita0289e82ce4e460e7f9013993bdc5e69dd2fb1a6
treec9bef6c3cc525f3d4efa06d04a8ced2d35669bd4
parent5284a260fde96ff04bb6e004756fb7c7d5e317d3
[PATCH] 2.5.4-pre1: further llseek cleanup (2/3)

This is the second patch of three implementing further llseek cleanups,
against 2.5.4-pre1.  It does not depend on the other patches.

This patch cleans up various code and quite nicely removes much more
code than it adds.  Specifically:

- remove static lseek method which merely reimplements
  the standard no_llseek in the following seven files:
  hci_vhci.c, ite8172.c, nec_vrc5477.c, auerswald.c,
  pipe.c, netlink_dev.c, and socket.c

- remove fs/ufs/file.c::ufs_file_lseek -- Al says it is
  reimplementing generic_file_llseek, so let's use that
  instead (the comment about 32-bit sizes shouldn't be
  an issue, the generic method checks size)

- include smp_lock.h in 3 files missed from previous
  'remove bkl' patch

- Documentation/filesystem/Locking update

Please, apply.

Robert Love
12 files changed:
Documentation/filesystems/Locking
drivers/bluetooth/hci_vhci.c
drivers/sound/ite8172.c
drivers/sound/nec_vrc5477.c
drivers/usb/auerswald.c
fs/hfs/file_cap.c
fs/hfs/file_hdr.c
fs/ncpfs/file.c
fs/pipe.c
fs/ufs/file.c
net/netlink/netlink_dev.c
net/socket.c