1. 15 Jul, 2008 4 commits
  2. 13 Jul, 2008 1 commit
  3. 07 Jul, 2008 2 commits
    • Benny Halevy's avatar
      nfsd: take file and mnt write in nfs4_upgrade_open · e518f056
      Benny Halevy authored
      testing with newpynfs revealed this warning:
      Jul  3 07:32:50 buml kernel: writeable file with no mnt_want_write()
      Jul  3 07:32:50 buml kernel: ------------[ cut here ]------------
      Jul  3 07:32:50 buml kernel: WARNING: at /usr0/export/dev/bhalevy/git/linux-pnfs-bh-nfs41/include/linux/fs.h:855 drop_file_write_access+0x6b/0x7e()
      Jul  3 07:32:50 buml kernel: Modules linked in: nfsd auth_rpcgss exportfs nfs lockd nfs_acl sunrpc
      Jul  3 07:32:50 buml kernel: Call Trace:
      Jul  3 07:32:50 buml kernel: 6eaadc88:  [<6002f471>] warn_on_slowpath+0x54/0x8e
      Jul  3 07:32:50 buml kernel: 6eaadcc8:  [<601b790d>] printk+0xa0/0x793
      Jul  3 07:32:50 buml kernel: 6eaadd38:  [<601b6205>] __mutex_lock_slowpath+0x1db/0x1ea
      Jul  3 07:32:50 buml kernel: 6eaadd68:  [<7107d4d5>] nfs4_preprocess_seqid_op+0x2a6/0x31c [nfsd]
      Jul  3 07:32:50 buml kernel: 6eaadda8:  [<60078dc9>] drop_file_write_access+0x6b/0x7e
      Jul  3 07:32:50 buml kernel: 6eaaddc8:  [<710804e4>] nfsd4_open_downgrade+0x114/0x1de [nfsd]
      Jul  3 07:32:50 buml kernel: 6eaade08:  [<71076215>] nfsd4_proc_compound+0x1ba/0x2dc [nfsd]
      Jul  3 07:32:50 buml kernel: 6eaade48:  [<71068221>] nfsd_dispatch+0xe5/0x1c2 [nfsd]
      Jul  3 07:32:50 buml kernel: 6eaade88:  [<71312f81>] svc_process+0x3fd/0x714 [sunrpc]
      Jul  3 07:32:50 buml kernel: 6eaadea8:  [<60039a81>] kernel_sigprocmask+0xf3/0x100
      Jul  3 07:32:50 buml kernel: 6eaadee8:  [<7106874b>] nfsd+0x182/0x29b [nfsd]
      Jul  3 07:32:50 buml kernel: 6eaadf48:  [<60021cc9>] run_kernel_thread+0x41/0x4a
      Jul  3 07:32:50 buml kernel: 6eaadf58:  [<710685c9>] nfsd+0x0/0x29b [nfsd]
      Jul  3 07:32:50 buml kernel: 6eaadf98:  [<60021cb0>] run_kernel_thread+0x28/0x4a
      Jul  3 07:32:50 buml kernel: 6eaadfc8:  [<60013829>] new_thread_handler+0x72/0x9c
      Jul  3 07:32:50 buml kernel:
      Jul  3 07:32:50 buml kernel: ---[ end trace 2426dd7cb2fba3bf ]---
      
      Bruce Fields suggested this (Thanks!):
      maybe we need to be doing a mnt_want_write on open_upgrade and mnt_put_write on downgrade?
      
      This patch adds a call to mnt_want_write and file_take_write (which is
      doing the actual work).
      
      The counter-calls mnt_drop_write a file_release_write are now being properly
      called by drop_file_write_access in the exact path printed by the warning
      above.
      Signed-off-by: default avatarBenny Halevy <bhalevy@panasas.com>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
      e518f056
    • J. Bruce Fields's avatar
      nfsd: document open share bit tracking · 4f83aa30
      J. Bruce Fields authored
      It's not immediately obvious from the code why we're doing this.
      Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
      Cc: Benny Halevy <bhalevy@panasas.com>
      4f83aa30
  4. 04 Jul, 2008 1 commit
  5. 03 Jul, 2008 1 commit
  6. 02 Jul, 2008 16 commits
  7. 01 Jul, 2008 1 commit
  8. 30 Jun, 2008 12 commits
  9. 29 Jun, 2008 2 commits
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb · 1702b520
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (42 commits)
        V4L/DVB (8108): Fix open/close race in saa7134
        V4L/DVB (8100): V4L/vivi: fix possible memory leak in vivi_fillbuff
        V4L/DVB (8097): xc5000: check device hardware state to determine if firmware download is needed
        V4L/DVB (8096): au8522: prevent false-positive lock status
        V4L/DVB (8092): videodev: simplify and fix standard enumeration
        V4L/DVB (8075): stv0299: Uncorrected block count and bit error rate fixed
        V4L/DVB (8074): av7110: OSD transfers should not be interrupted
        V4L/DVB (8073): av7110: Catch another type of ARM crash
        V4L/DVB (8071): tda10023: Fix possible kernel oops during initialisation
        V4L/DVB (8069): cx18: Fix S-Video and Compsite inputs for the Yuan MPC718 and enable card entry
        V4L/DVB (8068): cx18: Add I2C slave reset via GPIO upon initialization
        V4L/DVB (8067): cx18: Fix firmware load for case when digital capture happens first
        V4L/DVB (8066): cx18: Fix audio mux input definitions for HVR-1600 Line In 2 and FM radio
        V4L/DVB (8063): cx18: Fix unintended auto configurations in cx18-av-core
        V4L/DVB (8061): cx18: only select tuner / frontend modules if !DVB_FE_CUSTOMISE
        V4L/DVB (8048): saa7134: Fix entries for Avermedia A16d and Avermedia E506
        V4L/DVB (8044): au8522: tuning optimizations
        V4L/DVB (8043): au0828: add support for additional USB device id's
        V4L/DVB (8042): DVB-USB UMT-010 channel scan oops
        V4L/DVB (8040): soc-camera: remove soc_camera_host_class class
        ...
      1702b520
    • Linus Torvalds's avatar
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 · 0acbbee4
      Linus Torvalds authored
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
        dock: bay: Don't call acpi_walk_namespace() when ACPI is disabled.
        ACPI: don't walk tables if ACPI was disabled
        thermal: Create CONFIG_THERMAL_HWMON=n
      0acbbee4